https://github.com/alexwenzel/redirectwizard
This october cms plugin helps you redirecting requests.
https://github.com/alexwenzel/redirectwizard
Last synced: 3 months ago
JSON representation
This october cms plugin helps you redirecting requests.
- Host: GitHub
- URL: https://github.com/alexwenzel/redirectwizard
- Owner: alexwenzel
- Created: 2021-12-27T13:38:38.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-12-27T14:03:48.000Z (over 3 years ago)
- Last Synced: 2025-01-10T18:27:47.537Z (5 months ago)
- Language: PHP
- Size: 9.77 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# redirect Wizard
This plugin helps you to manage redirection of incoming requests.
Your can customize the request method and use a wildcard/optional parameter.
It redirects to any url with a given HTTP status code.
## Example
Your redirect: ``/foo/bar``
Request 1: ``/foo`` matches not
Request 2: ``/foo/bar`` matches## Wildcards
Your redirect: ``/foo/{wildcard}/bar``
Request 1: ``/foo`` matches not
Request 2: ``/foo/foo`` matches not
Request 3: ``/foo/foo/bar`` matches
Request 3: ``/foo/123456789/bar`` matches
Request 3: ``/foo/123456789/bar/foo`` matches notWildcard expression looks like `{wildcard}`
Every wildcard name should be used only once: ``/foo/{w1}/{w2}/{w3}/bar``
## Optional Parameters
Your redirect: ``/abc/{optional?}``
Request 1: ``/abc`` matches
Request 2: ``/abc/foo`` matches
Request 3: ``/abc/foo/bar`` matches not## Caching
Redirects are cached forever. This means you have to empty the
October cache when you like to become new redirects effective.