Skip to main content
edited body
Source Link

After truncating the category tables you might get duplicate entry errors for URL keys so you need to clear category URL keys from url_rewrite table.

DELETE FROM `url_rewrite` WHERE `entity_type` = `category`'category'

After truncating the category tables you might get duplicate entry errors for URL keys so you need to clear category URL keys from url_rewrite table.

DELETE FROM `url_rewrite` WHERE `entity_type` = `category`

After truncating the category tables you might get duplicate entry errors for URL keys so you need to clear category URL keys from url_rewrite table.

DELETE FROM `url_rewrite` WHERE `entity_type` = 'category'
code indent
Source Link
Rama Chandran M
  • 3.2k
  • 13
  • 23
  • 38

After truncating the category tables you might get duplicate entry errors for urlURL keys so you need to clear category urlURL keys from url_rewriteurl_rewrite table.

DELETE FROM `url_rewrite` WHERE `entity_type` = `category`

After truncating the category tables you might get duplicate entry errors for url keys so you need to clear category url keys from url_rewrite table.

DELETE FROM `url_rewrite` WHERE `entity_type` = `category`

After truncating the category tables you might get duplicate entry errors for URL keys so you need to clear category URL keys from url_rewrite table.

DELETE FROM `url_rewrite` WHERE `entity_type` = `category`
Source Link

After truncating the category tables you might get duplicate entry errors for url keys so you need to clear category url keys from url_rewrite table.

DELETE FROM `url_rewrite` WHERE `entity_type` = `category`