- Property Manager name: Redirect Plus
- Behavior version: The
latest
rule format supports theredirectplus
behavior v1.2. - Rule format status: Beta, possible breaking changes
- Access: Read/Write
- Allowed in includes: Not available for
latest
rule format
Respond to the client request with a redirect without contacting the origin. This behavior fills the same need as redirect
, but allows you to use variables to express the redirect destination
's component values more concisely.
Option | Type | Description | Requires | |
---|---|---|---|---|
enabled | boolean | Enables the redirect feature. | {"displayType":"boolean","tag":"input","type":"checkbox"} | |
destination | string (allows variables) | Specifies the redirect as a path expression starting with a | {"displayType":"string","tag":"input","type":"text"} {"if":{"attribute":"enabled","op":"eq","value":true}} | |
responseCode | enum | Assigns the status code for the redirect response. | {"displayType":"enum","options":["301","302","303","307"],"tag":"select"} {"if":{"attribute":"enabled","op":"eq","value":true}} | |
Supported values: 301 302 303 307 |