brigitte.sutherland32
New Member
- Messages
- 5
- Reaction score
- 0
- Points
- 0
I am trying to redirect http://www.brigitteland.com to http://brigitteland.com as a 301 in my htaccess.
I've tried various scripts and with the x10hosting inserted code I now can't even access the non www page as it is redirecting to the www, the exact opposite of what I'm trying to do!
Anyone got the right code for this?
This is what x10 generated via CP:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.brigitteland.com$
RewriteRule ^/?$ "http\:\/\/brigitteland\.com" [R=301,L]
I've tried various scripts and with the x10hosting inserted code I now can't even access the non www page as it is redirecting to the www, the exact opposite of what I'm trying to do!
Anyone got the right code for this?
This is what x10 generated via CP:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.brigitteland.com$
RewriteRule ^/?$ "http\:\/\/brigitteland\.com" [R=301,L]
Last edited: