Getting Error Unique constraint violation found - When remove suffix .html in magento 2
-
04-03-2021 - |
سؤال
I Am getting error when I am removing .html from Category URL Suffix.
Error is Unique constraint violation found
.
Anyone have genuine solution for this.
Thanks
لا يوجد حل صحيح
نصائح أخرى
This can be caused by duplicate entries for the same product in url_rewrite database table.
You can check duplicate entries using below query.
SELECT * FROM url_rewrite WHERE entity_type = 'product'
To resolve your issue Follow this link
I hope it helps.
لا تنتمي إلى magento.stackexchange