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

Okay, this is very weird, Google indexed my pages and some are duplicates (one w/ the trailing slash, and one without). Is this bad for SEO?

The URL's are like:

share|improve this question
up vote 2 down vote accepted

If two URLs pull up the same content then you will run into issues with duplicate content. The solution to solve this is canonical URLs. Choose which URL you want to show up in Google search and make that your primary URL.

<link rel='canonical' href='http://site.com/posts/indexed-post/' />
share|improve this answer

It will cause the issue with the duplicate content, so it is bad for SEO. You may solve it with canonical urls or 301 redirect.

Regarding canonical urls, you should choose the main page from "/" or without "/". If your main page is, e.g. site.com/posts/indexed-post/ on the page site.com/posts/indexed-post you should add in header construction like John Conde shows. But you should do it only for site.com/posts/indexed-post

share|improve this answer
+1 for mentioning 301 redirects, which really are the correct tool to use in this case. Using rel=canonical links will work too, but they're less efficient and less widely supported, and should generally only be used in cases where 301 redirects are not practical. – Ilmari Karonen Mar 30 '13 at 18:54

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.