Jump to content

301 redirect


glennk

Recommended Posts

Nick in the north set me up a 301 redirect on www.whitbyseaanglers.co.uk, this is the content of the file

 

Options +FollowSymLinks

RewriteEngine on

RewriteCond %{HTTP_HOST} ^whitbyseaanglers\.co\.uk

RewriteRule ^(.*)$ http://www.whitbyseaanglers.co.uk/$1 [R=permanent,L]

 

It appears to work fine.

 

I decided to copy it to my other sites starting with www.trotoncharters.co.uk. I simply changed the content as follows

 

Options +FollowSymLinks

RewriteEngine on

RewriteCond %{HTTP_HOST} ^trotoncharters\.co\.uk

RewriteRule ^(.*)$ http://www.trotoncharters.co.uk/$1 [R=permanent,L]

 

For some reASON THE second 1 does not function, Would someone please help me by pointing out what I have done wrong.

 

Thanks - Glenn

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We and our partners use cookies on our website to give you the most relevant experience by remembering your preferences, repeat visits and to show you personalised advertisements. By clicking “I Agree”, you consent to the use of ALL the cookies. However, you may visit Cookie Settings to provide a controlled consent.