Magento 2 - How to regenerate url_rewrite table?
-
14-04-2021 - |
Question
I truncated the whole url_rewrite
table from phpMyAdmin.
I thought that it will regenerate if I execute php bin/magento indexer:reindex
but it doesn't.
How can I fix it?
Solution
You might have a look to this one https://github.com/olegkoval/magento2-regenerate_url_rewrites :
bin/magento ok:urlrewrites:regenerate
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange