Skip to content

Magento2. Extension rebuild UrlRewrite index.

License

OSL-3.0, Unknown licenses found

Licenses found

OSL-3.0
LICENSE.txt
Unknown
COPYING.txt
Notifications You must be signed in to change notification settings

karliuka/m2.IndexerUrlRewrite

Repository files navigation

Magento2 Indexer UrlRewrite

Total Downloads Latest Stable Version

Extension rebuild UrlRewrite index.

Compatibility

Magento CE (EE) 2.0.x, 2.1.x, 2.2.x, 2.3.x, 2.4.x

Install

Install via Composer (recommend)

The corresponding version of the Smart Category Kit will be installed automatically.

  1. Go to Magento2 root folder

  2. 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.

Manual Installation

  1. Create a folder {Magento root}/app/code/Faonni/IndexerUrlRewrite

  2. Download the corresponding latest version

  3. Copy the unzip content to the folder ({Magento root}/app/code/Faonni/IndexerUrlRewrite)

Completion of installation

  1. Go to Magento2 root folder

  2. Enter following commands:

    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
    php bin/magento setup:static-content:deploy (optional)

Using

  1. Go to Magento2 root folder

  2. 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

Uninstall

This works only with modules defined as Composer packages.

Remove Extension

  1. Go to Magento2 root folder

  2. Enter following commands to remove:

    composer remove faonni/module-indexer-url-rewrite

Completion of uninstall

  1. Go to Magento2 root folder

  2. Enter following commands:

    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
    php bin/magento setup:static-content:deploy (optional)