For example,




go to the same place.

It does this for all the pages.

Duplicate URLs are bad for SEO. How do I make it so that I just get the first format of URL?


  • They aren't bad for SEO if you properly are using the Canonical SEO meta tag setup in Magento System Config. – Fiasco Labs Sep 15 '14 at 18:55
  • @Serpyre care to make those comments into an answer with a little description of what's necessary? – Fiasco Labs Sep 15 '14 at 19:13
  • Heh, links or it didn't happen... This should be flagged as a duplicate then. – Fiasco Labs Sep 15 '14 at 20:19

If you are worried about SEO, you should use the Canonical URL option. You could find it under: System -> Configuration -> Catalog -> Search Engine Optimization -> Use Canonical Link Meta Tag For Categories & Use Canonical Link Meta Tag For Products.

  • With using the canonical tag (which Google recommends), most Magento duplicate content SEO concerns go away. – Fiasco Labs Sep 15 '14 at 18:53

If you want products to only be accessible under one URL then enable system -> config -> catalog -> seo -> use categories path for product URLs -> no. It works this way in case you have products under multiple categories and want to differentiate between the products reached from these different paths.

EDIT: You can't just have the first format.

  • I presume I could do .HTACCESS rewrites anyway if I wanted. – Peter Sep 15 '14 at 17:41
  • If you don't have too many products and so it is practical, then you can just add 301 redirects via the admin panel under catalog -> url rewrite management – Jonathan Hussey Sep 15 '14 at 17:43
  • I presume I could use pattern matching and just redirect everything of the second pattern to the first. – Peter Sep 15 '14 at 17:44
  • If you have consistent enough paths then yes you could use regex in your rewrites. – Jonathan Hussey Sep 15 '14 at 17:45
  • 1
    Or you can use a canonical URL in all the pages echoing always the same one. – mbalparda Sep 15 '14 at 17:47

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.