Documentation / redirect
namecheap redirect
URL redirect management commands
Every command below also accepts the global options.
namecheap redirect
URL redirect management commands
namecheap redirect [OPTIONS] <COMMAND>
namecheap redirect list
List URL redirects for a domain
namecheap redirect list [OPTIONS] <DOMAIN>
Arguments
<DOMAIN> | Domain name |
namecheap redirect add
Add a URL redirect
namecheap redirect add [OPTIONS] <DOMAIN> <HOST> <URL>
Arguments
<DOMAIN> | Domain name |
<HOST> | Host/subdomain (use @ for root) |
<URL> | Destination URL |
Options
--permanent | Use 301 permanent redirect |
--frame | Use frame/masking redirect |
namecheap redirect rm
Remove a URL redirect
namecheap redirect rm [OPTIONS] <DOMAIN> <HOST>
Arguments
<DOMAIN> | Domain name |
<HOST> | Host/subdomain (use @ for root) |