0

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. – Hardik Visa Sep 28 '16 at 10:31
  • As a temporary solution assign different url key – Kalyan Chakravarthi V Jan 30 '18 at 2:20
0

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 – Sudheer Singamsetti Sep 28 '16 at 10:50
  • Do Reindexing & Clear Cache Once then try – Brad Hodge Sep 28 '16 at 10:57
0
  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, privacy policy and cookie policy

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