``orvisoft/module-redirect``
This module overrides 404 page with 301 permanent redirect to homepage in Magento which is sometime required by SEO team to remove URLs
* = in production please use the --keep-generated
option
- Unzip the zip file in
app/code/OrviSoft
- Enable the module by running
php bin/magento module:enable OrviSoft_Redirect
- Apply database updates by running
php bin/magento setup:upgrade
* - Flush the cache by running
php bin/magento cache:flush
- Make the module available in a composer repository for example:
- private repository
repo.magento.com
- public repository
packagist.org
- public github repository as vcs
- private repository
- Add the composer repository to the configuration by running
composer config repositories.repo.magento.com composer https://repo.magento.com/
- Install the module composer by running
composer require orvisoft/module-redirect
- enable the module by running
php bin/magento module:enable OrviSoft_Redirect
- apply database updates by running
php bin/magento setup:upgrade
* - Flush the cache by running
php bin/magento cache:flush
-
status (web/options/status)
-
redirect_url (web/options/redirect_url)