URL Rewrite Regeneration



Magento Platform
Open Source (CE)
2.0, 2.1, 2.2, 2.3

Tech Specifications

Current Version:
Stable Build
26 April, 2019
Extensions, Content & Customizations, Product Content
License Type:
GNU General Public License 3.0 (GPL-3.0)


Magento 2 has no option to regenerate URL rewrites for products. This extension adds a CLI command to regenerate all product SEO URLs for your shop.

Other Extensions by T.H. Lassche Webdevelopment


Back to top

Want to change the way URLs appear in your shop? Remove the .html from all your URLs? This is all possible in Magento 2, however product URL rewrites can't be reindexed / regenerated. If, for some reason, you want to reindex the URL rewrites for products (e.g. after a third party product import or a configuration change), you can use this extension. URL rewrites are very important in terms of SEO and a must for a correct functioning shop, that is where this extension comes in. 


How will my site appear when I use this extension?

  • We will not touch your valuable product data
  • We will update the product URLs in your shop, so that they reflect your SEO settings and look nice (e.g. no more /product/view/id)
  • We will update the product URLs with your configured URL suffix



The extension is very easy to use. The only thing you need to execute is:

bin/magento thlassche:regenerate_product_urls


What it does:

  • Iterates all products and generates all URL rewrites
  • Supports multiple storefronts (it generates the correct URLs for every storefront)
  • Supports all Magento SEO settings
  • Regenerate your URLs after a migration or product import
  • Can be run from the command line
  • Can be run automatically periodically by using a cron
  • Regenerate category URL rewrites

Release Notes

Back to top


  • Compatible with Open Source (CE) : 2.0 2.1 2.2 2.3
  • Stability: Stable Build
  • Description:

    Compatibility with M2.3.x


  • Compatible with Open Source (CE) : 2.0 2.1 2.2
  • Stability: Stable Build
  • Description:

    Stability improvements


  • Compatible with Open Source (CE) : 2.1 2.2
  • Stability: Stable Build
  • Description:

    - Improved compatibility for multistore setups
    - Products URLs in categories are now using the category url of the correct store level


  • Compatible with Open Source (CE) : 2.0 2.1
  • Stability: Stable Build
  • Description:

    Added support for the generation of rewrites for categories


  • Compatible with Open Source (CE) : 2.0 2.1
  • Stability: Stable Build
  • Description:

    Fix typing error in installation manual


Back to top
The best place to start if you need help with a specific extension is to contact the developer. All Magento developers have both a contact email and a support email listed.

Q & A

Back to top


Back to top