Hi
I have setup a 301 redirect on my site so that clickon-computer-services.co.uk redirects to www.clickon-computer-services.co.uk.
This is working fine but can anybody please tell me how to make the index.html file redirect to www.clickon-computer-services.co.uk ??
Thanks
Jason
Keith ~ My Blog general ramblings. Internet Marketing Blogs UK all the blogs together in one place (pm for inclusion)
Fantastic, cheers for that Keith![]()
Have a problem with 301 redirect on some domains??
I've entered the following into .htaccess file:
RewriteCond %{http_host} ^clickon-computer-services.co.uk [nc]
RewriteRule ^(.*)$ http://www.clickon-computer-services.co.uk/$1 [r=301,nc]
RewriteCond %{http_host} ^clickon-computer-services.co.uk/index.html [nc]
RewriteRule ^(.*)$ http://www.clickon-computer-services.co.uk/$1 [r=301,nc]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.html\ HTTP/
RewriteRule ^index\.html$ http://www.clickon-computer-services.co.uk/ [R=301,L]
For this domain it works fine. non www redirects to www, non www with index.html redirects to www with no index.html - all ok![]()
I have it set up on various other domains and all work ok apart from 2.
For the 2 that don't, typing in for example hom-underwear.co.uk/index.html brings up a windows error 'Windows cannot find hom-underwear.co.uk/index.html. Check the spelling and try again'.
Would anybody have any ideas why this is? I've checked the lines in each .htaccess file and they are identical ??
Cheers
Jason
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks