Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vdlp/oc-redirectconditionsdomain-plugin
Adds Domain conditions to the Redirect plugin.
https://github.com/vdlp/oc-redirectconditionsdomain-plugin
Last synced: about 4 hours ago
JSON representation
Adds Domain conditions to the Redirect plugin.
- Host: GitHub
- URL: https://github.com/vdlp/oc-redirectconditionsdomain-plugin
- Owner: vdlp
- License: other
- Created: 2022-02-20T15:51:13.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-14T13:50:22.000Z (8 months ago)
- Last Synced: 2024-03-14T15:12:27.864Z (8 months ago)
- Language: PHP
- Size: 26.4 KB
- Stars: 0
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Vdlp.RedirectConditions.Domain (extension)
This is an extension plugin for the [Redirect](https://octobercms.com/plugin/vdlp-redirect) plugin for OctoberCMS.
## Requirements
- Plugin `Vdlp.Redirect`
- Plugin `Vdlp.RedirectConditions`## Conditions
### `DomainCondition`
On a positive match the redirect will take place if the request matches given condition parameters.
**Condition parameters:**
* Domain name (case-insensitive)
## Unit tests
To run the Unit Tests of this plugin, execute the following command from the project root:
```
vendor/bin/phpunit plugins/vdlp/redirectconditionsdomain
```## Questions? Need help?
If you have any question about how to use this plugin, please don't hesitate to contact us at [email protected]. We're happy to help you. You can also visit the support forum and drop your questions/issues there.