Forum Moderators: Robert Charlton & goodroi
When I tried to use the remove URL tool in webmaster tools, it changes the URL to domain.com/ instead of domain.com/index.html. Any ideas?
Cal
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.html\ HTTP/
RewriteRule ^index\.html$ http://www.example.com/ [R=301,L]
From jdMorgan, Post #5 in this thread:
Redirect index.html to Root Directory [webmasterworld.com]
It could be a duplicate content issue, which would be resolved in the same manner.
It could also be some other factor not having anything to do with /index.html being indexed. My guess is, it is not a duplicate content issue if it is one of the preceding possibilities, because index.html does not exist.
Is the new page you are serving your root page from indexed also? If so, you should redirect it also:
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.(html?Šphp)\ HTTP/
RewriteRule ^index\.(html?Šphp)$ http://www.example.com/ [R=301,L]
The above would redirect index.htm, index.html & index.php.
Chances are the, unless the issue is loss of inbound links due to index.html being 404ed there is something else to find.
<ADDED>
Make sure you replace the ¦'s above with a solid bar or you will receive a server error.
</ADDED>
[edited by: TheMadScientist at 3:56 am (utc) on April 16, 2008]
I think I remember reading in a thread a while ago where Google was getting better at 'picking a page' to rank as long as the duplicate content was within a single domain.
When you say your 'home page doesn't pull up' what type of search are you doing? Is it a site: ? or do you mean it is not anywhere in any results for any search?
[edited by: TheMadScientist at 4:42 am (utc) on April 16, 2008]