Forum Moderators: phranque
Up until today my site was indexed as www.my-site.com by google and was always listed first in the "site:" index. Today I noticed it changed to www.my-site.com/index.html and it is now the second page listed in the "site:" index. The PR has not changed so is it even worth getting rid of the /index.html?
How can I remove the "index.html" using httpd.conf without hurting what google already has indexed and hurting my rankings?
We want to do a 301 to be safe and have reviewed previous posts. So far this is what we have tried to work with:
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.html
RewriteRule ^index\.html$ http://www.example.com/ [R=301,L]
We also tried the RedirectPermenant but got ourselves stuck in a loop. (As also reported on previous posts)
This does not work when we put it in our httpd.conf file!
Can someone please help!
BerrySharpie
[edited by: encyclo at 8:17 pm (utc) on June 23, 2007]
[edit reason] switched to example.com [/edit]