quant redirect
Create or delete URL redirects on QuantCDN. Supports the standard 3xx status codes.
Synopsis
Section titled “Synopsis”quant redirect <from> <to> [status] [options]Description
Section titled “Description”Creates a redirect from one path to another. The redirect is evaluated at the edge before any content is served, so it works for paths whether or not content has been deployed there. To remove an existing redirect, pass --delete.
Arguments
Section titled “Arguments”| Name | Description |
|---|---|
from |
The source URL to redirect from (required). |
to |
The destination URL to redirect to (required). |
status |
HTTP status code. One of 301, 302, 303, 307, 308. Default 302. |
Options
Section titled “Options”| Flag | Description | Default |
|---|---|---|
-d, --delete |
Delete the redirect rather than create it. | false |
-f, --force |
Skip the confirmation prompt when deleting. | false |
Examples
Section titled “Examples”Permanent redirect
Section titled “Permanent redirect”quant redirect /old-page /new-page 301Temporary redirect (default)
Section titled “Temporary redirect (default)”quant redirect /promo /campaigns/spring-2026Delete a redirect
Section titled “Delete a redirect”quant redirect /old-page /new-page --delete --forceSee also
Section titled “See also”quant deploy— deploy content.quant purge— purge cache after changing redirects.
