I have an odd problem with a Magento install.

Even though I have specific URLs set for each product, I am seeing the same format for every product, based on one of the initial products we setup:


The system seems to be using the ID at the end to differentiate, but it is not the product ID.

This is the case whether a direct product link or via categories:


I've cleared cache, reindexed, etc. Nothing works.

I've pored over the backend, and am lost as this value is not hard coded.

1 Answer 1


This happens when Magento detects a duplicate rewrite. Could be because of multiple stores (/languages) or identical URLs between products.

If you haven't added custom URL rewrites you can truncate the core_url_rewrite table and reindex again to fix it although they might return at some point.

Another downside to that is any URLs indexed by google will return a 404

  • 1
    Awesome. Thanks for the insight. I had different URLs at the default level to the language level. Commented Nov 10, 2015 at 14:13

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.