Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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:

site.com/posts/indexed-post/
site.com/posts/indexed-post
share|improve this question
add comment

2 Answers 2

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
add comment

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  
+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
add comment

Your Answer

 
discard

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.