I am trying to modify my category structure as part of creating a new shop with Porto and Magento 2.
My products were migrated to m2 from m1 using the Migration Tool.
I have been deleting categories and creating new ones. That has worked fine. However, now I am trying to allocate products to categories I am facing errors that say:
"The value specified in the URL Key field would generate a URL that already exists."
I have tried various fixes, such as:
- deleting the Rewrite rule for the referenced error URL
- updating the URL Key for the referenced error URL
- changing the URL Key for the category
- deselecting "Create Permanent Redirect for old URL" and changing URL Key for the category
I have read various issues concerning use of URL Keys and rewrite rules but nobody seems to have a definitive answer. My problem is the same as the one referenced here:
It would be great if someone had a definitive answer to how to fix this error as my categories will not work unless I can get this fixed.