weprovide / module-nginxredirect
Installs: 3 035
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 16
Forks: 1
Open Issues: 11
Type:magento2-module
README
Compatible with Magento 2.1.12 and higher.
Installation
- composer require weprovide/module-nginxredirect
- bin/magento setup:upgrade
Configuration
You'll need to configure the complete path of your nginx config file in which you wish to write the redirects. You can find this in the following configuration.
Admin > Stores > Configuration > We Provide > Nginx Redirect > Path > Config Path
You can set up your redirects under the following grid.
Admin > Marketing > Nginx Redirects
Cron
A cron, which runs twice a day, will generate a fresh file with all redirects. You'll need to manually reload nginx on your webserver.
If you wish you can manually trigger the cron, if you have magerun2 installed, with the following command.
magerun2 sys:cron:run nginx_redirect_write