staempfli / magento2-module-rebuild-url-rewrite
Magento 2 rebuild url rewrites for categories and products
Installs: 13 453
Dependents: 0
Suggesters: 0
Security: 0
Stars: 12
Watchers: 8
Forks: 9
Open Issues: 3
Type:magento2-module
Requires
- php: ^7.0|^7.1
- magento/framework: ~100.1|~101.0
- magento/module-catalog-url-rewrite: 100.1|~100.2
- magento/module-url-rewrite: ~101.0|~100.1
- symfony/console: ~2.3, !=2.7.0
Requires (Dev)
- codeclimate/php-test-reporter: 0.4.0
- magento/marketplace-eqp: ^1.0.5
- phpunit/phpunit: ~6.2.0
This package is auto-updated.
Last update: 2020-09-16 11:58:52 UTC
README
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