I am an SEO executive and pretty new to Magento. I have got a project in which there are multiple URLs for a single product and all URLs have been indexed on Google. Here is an example of URL structure -





Also, the canonical URL for every URL is different. I want to understand why Magento is creating so many URLs for a single product. Also, I only want to keep the third URL structure as the main URL and all other URLs should either redirect to that URL or is there a way that the other URLs can be removed.

Any help will be appreciated.

1 Answer 1


There is a configuration under Stores > Settings > Configuration > Catalog > Search Engine Optimizations > Use Categories Path for Product URLs > Yes/No

To regenerate product, category URLs you can use below module


To force redirect to the URLs without category path in them you can use the solution given in the below link


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.