asprada/magento2-module-rebuild-url-rewrite 1.0.0

Magento 2 rebuild url rewrites for categories and products

Type

magento2-module

License

OSL-3.0, AFL-3.0

Requires
Requires (dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

Magento 2 Rebuild URL Rewrites

The module adds a CLI which allows to rebuild the following URL Rewrites: categories, products and cms-pages.

Installation

Install the module with composer:

composer require staempfli/magento2-module-rebuild-url-rewrite  

Usage

Rebuild everything.

bin/magento urlrewrite:rebuild categories,products,cms-pages  

Rebuild only categories

bin/magento urlrewrite:rebuild categories  

Rebuild only products

bin/magento urlrewrite:rebuild products  

Rebuild only cms-pages

bin/magento urlrewrite:rebuild cms-pages  

Rebuild only specific categories

bin/magento urlrewrite:rebuild categories -c=25,26,27  

or products

bin/magento urlrewrite:rebuild products -p=1,2,3  

Rebuild only specific stores

bin/magento urlrewrite:rebuild categories -s=1,2  

Any combination is possible.

See --help for more information

bin/magento urlrewrite:rebuild --help  

Requirements

  • PHP: 7.0.x | 7.1.x
  • Magento 2.1.x | 2.2.x

Support

If you have any issues with this extension, open an issue on GitHub.

Contribution

Any contribution is highly appreciated. The best way to contribute code is to open a pull request on GitHub.

Developer

Marcel Hauri, and all other contributors

License

Open Software License ("OSL") v. 3.0

Copyright

(c) 2018, Stämpfli AG