Skip to content

quant redirect

Create or delete URL redirects on QuantCDN. Supports the standard 3xx status codes.

Terminal window
quant redirect <from> <to> [status] [options]

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.

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.
Flag Description Default
-d, --delete Delete the redirect rather than create it. false
-f, --force Skip the confirmation prompt when deleting. false
Terminal window
quant redirect /old-page /new-page 301
Terminal window
quant redirect /promo /campaigns/spring-2026
Terminal window
quant redirect /old-page /new-page --delete --force