I have two questions about URL structure for SEO.

  1. I have one product belongs to multiple categories. Is this OK for SEO OR shall I give them different product names?

    1. example.com/shirts/denim/poloshirt.html
    2. example.com/shirts/pinkcolor/poloshirt.html
  2. Is it good or to put numeric product code in the URL as this:

    1. example.com/shirts/denim/shirt-st397.html
    2. example.com/shirts/denim/shirt-sw160.html

Google regard it as one product or different products?


3 Answers 3


Most modern eCommerce shopping carts give you the option to include the categories in the URL or remove them leaving only http://example.com/poloshirt.html this way no matter which category links to it it's not a unique URL for each.

I would personally avoid a product code in URL's if possible.


Some people actually do search by product codes, for more faster and precise search results, such as the UPC code or SKU. Are your product codes unique? Meaning that one product code per a product? I've seen cases where similar products with just a color difference, share the same product code.


Your information architecture is not alright if you need to deal this situation.

use the canonical meta tag to tell search engines it is the same page. (it really should be, despite the different categories. they all should lead to this exact page with exactly one unique URL)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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