Regenerate URL rewrites in Magento 2
Added by Martin Bleasdale on 23rd Oct 2018 in Web Design
I recently had an issue on a Magento 2 website where a number of URL rewrites had disappeared from the website. I came across the following Magento 2 module on GitHub that regenerates the Magento 2 URL rewrites:
This extension adds console commands to allow you to regenerate:
- Product URL rewrites based on its url path
- Category URL rewrites based on its url path
- Category URL paths based on its URL key and its parent categories
Even though the module gives you the option to regenerate the URL’s for all products in the global store, I found that I had to regenerate the URL’s for each site in the multi store.