Redirect (regex)
Redirect using a regular-expression match on the request path.
| Type | redirectRegex |
| Category | Transform |
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
pattern | text | yes | — | Regex matched against the request path, e.g. ^/old/(.*). |
replacement | text | yes | — | Target, with capture references, e.g. https://example.com/new/$1. |
permanent | true/false | no | — | Use 301 instead of 302. |