Announcement
Collapse
No announcement yet.
index.html and duplicate SEO issues
Collapse
X
-
This often just happens by default with your host. In my case for example with 1and1 this happens.
Try this:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www\.)?competitiveheatingsupplies.co.uk
RewriteRule (.*) http://www.competitiveheatingsupplies.co.uk/$1 [R=301,L]
ErrorDocument 404 /acatalog/404page.html
Comment
-
I just had a reply from support at 4sure. They said the code I used earlier today was "..killing my site".
I tried the following code from the webconfs site. Here is the code:
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]
I've tested the redirect from the webconfs redirect tester and by typing just http://mysite.co.uk (without the www) in my browser and it appears to be working.
I've asked 4sure to check it from their end. I will let you know if a problem.
Comment
Comment