Forum Moderators: open

Message Too Old, No Replies

Does google favor .html extension versus no extension

         

ovtech

8:13 am on Oct 19, 2003 (gmt 0)

10+ Year Member



Does google favor
[something.com...]
versus
[something.com...]

Lightfoot

11:32 am on Oct 19, 2003 (gmt 0)

10+ Year Member



The latter has the possibility of being resolved as the index page in a subdirectory called /something/. Try it!

Keep it clear and simple - use the full path!

kaled

11:48 am on Oct 19, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If external links point to directories (and are served with default pages such as index.html) they will not break if the site is upgraded from, say, static html to dynamic php. Google seems to recognise that default pages are served and does not appear to keep two copies (of the directory url and the index.html url).

So, for future-proofing purposes, you should try to ensure that all external links point to directries rather than pages. This will not always be possible, but if you follow this rule you may save yourself a lot of work in the future. I always check new links and ask for them to be changed if they point to pages.

Kaled.

Lightfoot

12:02 pm on Oct 19, 2003 (gmt 0)

10+ Year Member



Hi Kaled,

point taken - but it's not clear what he is intending to point to. I took it to be 'something.html' in the root. I agree that if he means the default file in a directory called /something/ that's o.k.

But if he's thinking this way, then the first path he provided wouldn't make any sense at all!

ciml

12:03 pm on Oct 19, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



At present, /something is crawled and listed separately from /something/ and I don't see any indication that Google would favour either.

However, not too long ago Google stopped indexing "/index.html", treating links to that URL as links to "/". Slurp looks like it does the same, but Scooter, ia_archiver, FAST-WebCrawler and msnbot treat them differently.

This is a mess, so I now aim to stick to /something/ in preference to /something and /something/index.html for the benefit of any robots that might make guesses about the content behind URLs.

If, as is often the case, /something is some kind of redirect to /something/ then I would certainly prefer to link to /something/

dirkz

3:26 pm on Oct 19, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't think Google favors one or the other, as long the lengths are somewhat equal.

You should be consistent in your site's internal linking, though, and above all, inbound links should be, too.

Avoid being linked as '/something/' and internally linking to /something/index.html.