I have tried to save the category and getting below error in Magento2 admin.

Error: URL key for specified store already exists

Please help me to fix this issue.

  • It may be possible when its already assign URL KEY to object. You can check/find in rewrite table in database. Commented Sep 28, 2016 at 10:31
  • As a temporary solution assign different url key Commented Jan 30, 2018 at 2:20

2 Answers 2


While Creating category go to Search Engine Optimization Tab & Then Remove the URL KEY Value & Then Try to save Category then it will work

  • I removed the URL KEY Value and tried to save but not working Commented Sep 28, 2016 at 10:50
  • Do Reindexing & Clear Cache Once then try
    – Brad Hodge
    Commented Sep 28, 2016 at 10:57
  1. Try deleting the unused product's rewrites in URL rewrite table and check

    delete from url_rewrite where entity_type='product' and entity_id NOT IN (Select entity_id from catalog_product_entity);

  2. Make Sure you are NOT using same name for 2 category

    Magento generates URL key from the name, if we try to add category with existing name it will show error

Hope it works!

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.