16

I can understand the frustration when you don't have access to SSH. Below is a simple PHP script that you save in a file in the root folder from where you want to start your search. For example, I wanted to find all files that have the HEX color code string ecebeb under the ../public_html (or the www) folder. Retracing the steps here. Login to yourdomain/...


7

I recommend using .htaccess redirect for several reasons: you can activate/deactivate it by just renaming the file, which is very easy and fast you can do temporary redirects (302), which is good for seo you can let several "test/dev" IPs see the real stuff while all other users see the maintenance page (so you can test the new features before going back ...


3

No VCS includes timestamp as metadata, even some do include permission bits. I think it's because when VCS tracks file contents, the last-modified time is not coherent. E.g. when someone modify a file, then undo, the last-modified time changes, but that file should keep the same version. BTW, Subversion has an option use-commit-times to use commit time as ...


2

If you are developing a web application which requires login, you should build this into your administration area which controls parts of the app. Once the app is in Maintenance mode when users attempt to login it redirects or displays a specific message. You can build in further conditions allowing admins or members with specific group ID's access if needed....


2

If your live environment is a mirror of staging area you should be able to copy your completed copy of your site from your staging area to your live server when you are done developing it. You shouldn't need to go through the steps of reassembling it piece-by-piece on the live server. That kind of defeats the purpose of having a staging area in the first ...


2

Use Wildcard Virtual Host Container in Apache You can configure Apache with a Wildcard virtual host container. You then control what domains are hosted by simply modifying your DNS to point to the appropriate IP address If you have the same content on all pages, then just upload the content. If you require different content, you can use a strategy that a ...


2

Here is a solution that might work for you. DNS / WEB SERVER SETUP Get one static ip address and bind that to your web server. (IIS or Apache). Setup your master domains (example.com) DNS with correct A Records. Now if you visit Example.com then the primary site will show up. For all your other domains just create a Cname record which points to Example....


2

There is no SEO Risk from temporary errors on your site. Google is very forgiving of small amounts of down time. Down time lasting less than a day will generally not hurt your site from an SEO perspective. When Googlebot encounters a 404 or 500 error on a page that it has found in the past, it tries again for 24 hours before removing the page from the ...


1

There is nothing wrong with the code. Composer ran but with errors. Manually running composer and fixing the errors solved the problem.


1

You need to set rel=canonical on all of your pages pointing to the pages on his domain. Or you have to 301 redirect the pages on your test site to his. You should also set the header to the pages on your site to NOINDEX and you should be doing this from now on when developing and testing sites for your clients so that Google doesn't index your demos anymore. ...


1

Alternatively, you can just edit your current site and change the origin, and link it to your GitHub account again.


1

If you're deploying to the default web site in IIS you can safely publish to the default website's directory and be up and running. However, if you're deploying an ASP.NET MVC site to a subdirectory of the default site, or to a new directory on the server, you will need to create a new web site, or convert the subdirectory (when publishing under the default ...


1

Step 1: CYA. Make sure that you have enough backups of the site before deploying that you can absolutely restore from. Do not count on most backup schemes and software too much as they tend to over complicate matters and may not always give you what you want. Practice backing up and redeploying a site as a recovery method. I prefer simple file copies and ...


1

I looked into Elastic Beanstalk but decided not to use it. My reason was the additional learning curve that would be associated with it. My web application needs a large number of software packages installed, many with specific versions (tomcat, java, firefox, mysql, lots of utilities). To get Elastic beanstalk machines into the correct state requires ...


1

Apparently there isn't a way to change it so that these settings are local to the project, but the global operation of VS can be altered. The answer to the linked question below includes the edit to make this change to your VS. https://stackoverflow.com/questions/13468852/using-msdeploy-web-deploy-as-publish-method-in-visual-studio-with-multiple-users


1

There is probably an easier way. You can do a lot of this with Bash. Here is what your shell script might look like. Install Script: Is git installed? Yes / No Install git Download latest git repository (you can host your scripts on GitHub or BitBucket or privately) If you don't want to use git, just have the shell script wget download your zip file from ...


1

I still haven't figured out an easy way to get the JPEG XR and downloadable F# code files to go into the *.cspkg file, but I did get the files to work on my Web Role. I had to follow Mr. Vipul Patel's instructions in his article Using Windows Azure Storage Service to Upload Files to create a storage service and then put the affected files in the blob. ...


Only top voted, non community-wiki answers of a minimum length are eligible