i have one product with two different url's




I'm trying to remove duplicate content from my site and this seems to be a problem that is appearing

Also, as an "SEO" standard, would the shorter url be more seo friendly

2 Answers 2


Both URLs are correct but you should have a canonical tag in the head.

A canonical tag will indicate to a Search Engine what the page is which needs to be indexed and is also the page given in the sitemap.xml

This can be enabled through the configuration:

Stores > Settings > Configuration > Catalog > Catalog > Search Engine Optimization > Use Canonical Link Meta Tag For Product

  • should it be set to No or yes Commented Dec 13, 2018 at 18:57

In addition to Mr.Lewis correct answer, double check your CMS pages. I had a similar problem with CMS pages being available under two URLs. Example:



I am unsure why Magento does that but Google recognised both URL and penalised me for having duplicate content.

To solve this, I manually added a canonical tag to the CMS page under Admin > CMS > Pages > [myPage] > Design > Page Layout :

<reference name="head">
    <action method="addLinkRel">
  • im not sure what cms is Commented Dec 13, 2018 at 18:57
  • would this apply to Commented Dec 13, 2018 at 18:57
  • dutchmanaxles.com/index.php because this started happening after the last update Commented Dec 13, 2018 at 18:58
  • If you go to Admin > Content > Pages there you can find you CMS pages. Check if you pages are available under two different URLs. Also, in regards to the index.php added at the end of your base URL, you need to enable server rewrites. Go to Stores > Settings > Configuration > General > Web > Search Engine Optimization and enable server rewrites. Flush cache etc after.
    – Greg
    Commented Dec 14, 2018 at 8:53

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.