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:


2 Answers 2


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/' />

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.example/posts/indexed-post/ on the page site.example/posts/indexed-post, you should add in header construction like John Conde shows. But you should do it only for site.example/posts/indexed-post

  • 2
    +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. Mar 30, 2013 at 18:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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