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?


You might have a look to this one https://github.com/olegkoval/magento2-regenerate_url_rewrites :

bin/magento ok:urlrewrites:regenerate
  • Unfortunatelly it does not generate URL's for the categories. But it is a start. Thank you! – Black Aug 18 '20 at 10:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.