Type
magento2-module
Extension rebuild UrlRewrite index.
magento2-module
OSL-3.0
None
None
None
None
None
Extension rebuild UrlRewrite index.
Magento CE (EE) 2.0.x, 2.1.x, 2.2.x, 2.3.x, 2.4.x
The corresponding version of the Smart Category Kit will be installed automatically.
Go to Magento2 root folder
Enter following commands to install module:
For Magento CE (EE) 2.0.x, 2.1.x, 2.2.x
composer require faonni/module-indexer-url-rewrite:2.0.*
For Magento CE (EE) 2.3.x
composer require faonni/module-indexer-url-rewrite:2.3.*
For Magento CE (EE) 2.4.x
composer require faonni/module-indexer-url-rewrite:2.4.*
Wait while dependencies are updated.
Create a folder {Magento root}/app/code/Faonni/IndexerUrlRewrite
Download the corresponding latest version
Copy the unzip content to the folder ({Magento root}/app/code/Faonni/IndexerUrlRewrite)
Go to Magento2 root folder
Enter following commands:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy (optional)
Go to Magento2 root folder
Enter following commands:
php bin/magento indexer:reindex
or (depending on need)
php bin/magento indexer:reindex category_url_rewrite
php bin/magento indexer:reindex product_url_rewrite
php bin/magento indexer:reindex cms_page_url_rewrite
This works only with modules defined as Composer packages.
Go to Magento2 root folder
Enter following commands to remove:
composer remove faonni/module-indexer-url-rewrite
Go to Magento2 root folder
Enter following commands:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy (optional)