Welcome to WebmasterWorld Guest from 220.127.116.11
Our website,www.example.com and www.example.com/index.html show the same page, so if you type in www.example.com you get the same content as if you typed in www.example.com/index.html. I know this would trigger the dupe content filter in google,but I checked google with the site command and www.example.com/index.html does not appear to be in the index...www.example.com comes up first followed by the other site pages.
My question is this: Is having both going to hurt us in anyway? Is there a way to not have an index page on a linux server and still have www.example.com/ come up when the url is typed in? or is this nothing to worry about.
You can assist in this - if you don't already! - by having all your internal links point to "/" or to domain.com
But either won't stop the page being listed, so need for concern
if there wasn't an index page, how exactly would a page show when the domain name alone was typed in? (the domain name points to a folder not a file as such)
index.htm/.php/.html is generally the default page set by apache to show when the domain name is typed in (or indeed any sub-directory)... this can be changed to anything you like.
by convention it is called index, if you do not have a default index page set apache will display a directory listing - unless that feature is turned off too, which it can be and it is generally a good idea to do so.
Therefore there is no need to ever refer to the index page itself by its actual filename, as doing so then creates duplicate content issues.
[edited by: g1smd at 8:54 pm (utc) on July 9, 2006]
Is it possible to do some kind of global search and replace on all instances of “/default.htm” and “/index.htm” with “/” across our network of sites on our Linux server?