Vdlp.RedirectConditions.Header (extension)
This is an extension plugin for the Redirect plugin for OctoberCMS.
Requirements
- Plugin
Vdlp.Redirect
- Plugin
Vdlp.RedirectConditions
Conditions
HeaderCondition
On a positive match the redirect will take place if the request matches given condition parameters.
Condition parameters:
- Header name (case insensitive)
- Header value (case insensitive)
- Whether to use regular expression for header value matching (see official preg_match documentation)
Unit tests
To run the Unit Tests of this plugin, execute the following command from the project root:
vendor/bin/phpunit plugins/vdlp/redirectconditionsheader
Questions? Need help?
If you have any question about how to use this plugin, please don't hesitate to contact us at octobercms@vdlp.nl. We're happy to help you. You can also visit the support forum and drop your questions/issues there.
The following plugins are required
Redirect
Manage all your HTTP redirects with an easy to use GUI. This is an essential SEO plugin.
Redirect
Manage all your HTTP redirects with an easy to use GUI. This is an essential SEO plugin.
Redirect Conditions
Allows plugin developers to create Redirect Condition extension plugins.
Redirect Conditions
Allows plugin developers to create Redirect Condition extension plugins.
For documentation on how to use the Redirect Conditions extension plugins or on how to make them yourself. Please check out the example extension plugin at GitHub.
-
This plugin has not been reviewed yet.
-
1.1.0 |
Add support for October CMS 3.0 Jun 11, 2022 |
---|---|
1.0.1 |
Fix issue with parameters check Apr 04, 2019 |
1.0.0 |
First version of Vdlp.RedirectConditionsHeader Mar 22, 2019 |