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

domain.com/test which is a content not a folder and I would expect it to be without a forward s lash at the end for that reason, am I wrong?


share|improve this question

migrated from stackoverflow.com Mar 2 '11 at 16:28

This question came from our site for professional and enthusiast programmers.

up vote 2 down vote accepted

It doesn't matter as long as you are consistent. If both URLs pull up the same content then you'll have issues with duplicate content. You should pick one format (I prefer with the trailing slash for the same reasons you do) and do a 301 redirect of the URLs with the trailing slash to it. I would also use canonical URLs to make sure Google know which one is the one you wish to have indexed.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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