Welcome to WebmasterWorld Guest from 54.242.224.250

Forum Moderators: Robert Charlton & aakk9999 & andy langton & goodroi

Message Too Old, No Replies

Domains and Index pages

Not real sure I know how to phrase this question

     
3:40 am on Jul 6, 2006 (gmt 0)

Junior Member

10+ Year Member

joined:July 6, 2005
posts:95
votes: 0


We are on a Linux server and it is my understanding that we have to have an index page or a directory listing will be displayed when the url for the domain is typed in the browser.

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.

9:21 pm on July 6, 2006 (gmt 0)

Junior Member

10+ Year Member

joined:May 18, 2006
posts:68
votes: 0


Nothing to worry about at all.
4:03 am on July 8, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member quadrille is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Feb 22, 2002
posts:3455
votes: 0


It's actually very good - the more memorable URL is coming up - that probably means that most of the links to you are to domain.com

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

4:16 am on July 8, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member topr8 is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Apr 19, 2002
posts:3208
votes: 13


>> 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?

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.

8:54 pm on July 9, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
posts:18903
votes: 0


The point is, is that www.domain.com/ will return the content of the index page at THAT URL, and that is the correct operation.

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]

11:01 am on July 10, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member whitey is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Jan 28, 2005
posts:3072
votes: 27


We still have occurrences of links to index.htm and default.htm within our sites - despite thinking we had cleaned everything up.

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?

3:37 pm on July 10, 2006 (gmt 0)

New User

10+ Year Member

joined:June 6, 2006
posts:33
votes: 0


One of my site showing both example.com/ and example.com/index.php when i do a site: search

will it create any problem?

7:19 pm on July 10, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
posts:18903
votes: 0


Yes, it is duplicate content.

Work to get all links pointing to "/".

In time, the other will be dropped.

11:29 pm on July 10, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member whitey is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Jan 28, 2005
posts:3072
votes: 27


Just for the record, for those that need this info, a global search and replace can be done on "index.htm" and "default.htm" to "/" - I just found out.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members