Redirect request
add_redirect_ruleRedirect matching HTTP requests to a specified absolute URL. Optionally filter by method and URL pattern.
Instructions
Transparently forward matching requests to a different absolute URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toUrl | Yes | Absolute target URL. | |
| method | No | HTTP method to match (GET, POST, ...). Omit = all methods. | |
| urlPattern | No | RegExp source matched case-insensitively against the full request URL. |