weprovide / module-nginxredirect
Package info
github.com/weprovide/magento2-module-nginx-redirect
Type:magento2-module
pkg:composer/weprovide/module-nginxredirect
Requires
None
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
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