Create URL Forward
create_url_forwardAdd a URL forwarding rule for a domain. Forwards a subdomain (or apex if subdomain is empty/omitted) to an arbitrary destination URL. Useful for redirects without setting up a web server. Free.
Instructions
Add a URL forwarding rule for a domain. Forwards a subdomain (or apex if subdomain is empty/omitted) to an arbitrary destination URL. Useful for redirects without setting up a web server. Free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | `permanent` = HTTP 301; `temporary` = HTTP 302 (default); `masked` = loads the destination in a frame (URL masking). For a precise code — including a 307 temporary redirect — use `redirect_type`. | |
| domain | Yes | Domain to add the forward to, e.g. `example.com` | |
| location | Yes | Destination URL to forward visitors to, e.g. `https://newsite.example.com` | |
| wildcard | Yes | `yes` also forwards all sub-subdomains; `no` forwards only the exact subdomain. | |
| subdomain | No | Subdomain prefix to forward. Empty/omitted = the apex (root domain). Examples: `www`, `shop`. | |
| includePath | Yes | `yes` appends the request URI path to the forward target; `no` always sends to the bare destination. | |
| redirect_type | No | Optional exact redirect type; takes precedence over `type`. 301 = permanent, 302 or 307 = temporary (pass 307 here to get a 307), masked = URL masking. Omit to derive from `type` (temporary→302, permanent→301). |