redirect homepage to a new site

Then you will need to set up a 301 Redirect from both the old servers to the new sites.

The following is the code for an htaccess redirect. The code should be included in the .htaccess file on the old domain(server)

Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]

You will need to FTP into the old server to find (or create) the .htaccess file which should be at the root of the server (if there is one there already)

You may have to enable the option “Show Invisible Files” within your FTP software as often it will be set to not show files that begin with a leading full stop such as .htaccess

Once you have found the .htaccess file open it with a plain text editor such as TextWrangler and add the code from above.

If their isn’t one there already then create a plain text file called htaccess with the code from above and upload it to the root of your server. Once it is uploaded then change the file name to include the leading full stop so that it becomes .htaccess.

If you try and create the file on youtr mac with a leading full stop it will disappear as they are hidden by default.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at: