Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Good Practice for Formatting SEO-Friendly URLs?

I'm looking into seo-ing my urls and i was wording which of these link structures was better to use:

1) www.mydomain.com/contact-john-smith/index.html -or-

2) www.mydomain.com/contact-john-smith/contact.html -or-

3) www.mydomain.com/contact-john-smith.html

I realize they're all basically the same but i was wondering if any of those permutations had an advantage over the others.

share|improve this question

marked as duplicate by Lèse majesté, Su', Anagio, danlefree Aug 25 '12 at 10:12

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 4 down vote accepted

But if you have to use one of three choices then #3 is the closest match to my answer

share|improve this answer
Could you explain your reasoning, and why dropping the file name and extension is preferred – toomanyairmiles Feb 3 '12 at 21:02
Because .html is pretty meaningless. All web pages output HTML, and using the extension doesn't guarantee a static file on the server (it could still be generated with PHP etc). – DisgruntledGoat Feb 4 '12 at 11:58

I would go for option #3.

Please keep in mind that:

  • It's good to have keyword rich URLs (that helps with linkbuilding and is good for the understanding of the website structure);
  • It's important to keep pages you want to rank with close to the root.
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.