I have migrated the project from Magento 1 to Magento 2.3.4 everything is working fine. But In admin when I try to change the category name it shows me error

The value specified in the URL Key field would generate a URL that already exists.

Why I am getting this error even if I am changing the category url key

Search Engine Optimization >> URL KEY

enter image description here

1 Answer 1


It is possible that you restarted your migration after doing it the first time. This could end up in duplicate URL keys. In a test database I would try removing your rewrite URLS and reindexing to rebuild them.

This should solve your problem.

If that doesn't work you can try migrating to a "Clean database"

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.