Useful Magento 2 SSH command lines
Added 3rd Oct 2018 By Martin Bleasdale
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:
https://github.com/elgentos/regenerate-catalog-urls
This extension adds console commands to allow you to regenerate:
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.