- Description:
A single route rule for redirects or rewrites.
- Appears in:
- Type:
Object- Properties:
When true, the redirect will be applied even if a file exists at the
frompath.Defaults to:
falseThe URL pattern to match incoming requests against. CloudCannon routing supports glob-style patterns.
The HTTP status code for this redirect rule. When using 200, 404, and 410 status codes,
tomust refer to a path on the same Site.Defaults to:
301Allowed values:
200301302303307308404410When true, captured segments from glob patterns in
fromwill be substituted into thetopath.Defaults to:
true- Examples: