I have just created the website www.jamesdobb.co.uk and any non www. links are redirected along with any index.htm files. However google has just crawled the site and index the non www. version of it! I have shown the .htaccess file below, please help! Thanks!
Code:RewriteEngine on RewriteBase / ### re-direct any non-www. links / ### RewriteCond %{HTTP_HOST} ^acklinsbonefishlodge.com [NC] RewriteRule ^(.*)$ http://www.acklinsbonefishlodge.com/$1 [L,R=301] ### re-direct index.php to root / ### RewriteCond %{THE_REQUEST} ^.*\/index\.php\ HTTP/ RewriteRule ^(.*)index\.php$ /$1 [L,R=301]


Reply With Quote
Bookmarks