create_url_forward
Set up a URL forwarding rule to redirect a subdomain or apex domain to any destination URL. Supports permanent and temporary redirects with path inclusion and wildcard options.
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 |
|---|---|---|---|
| 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` | |
| type | Yes | `permanent` sends HTTP 301 (browsers cache); `temporary` is the configurable default redirect. | |
| includePath | Yes | `yes` appends the request URI path to the forward target; `no` always sends to the bare destination. | |
| 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`. |