redirects_create
Define URL forwarding rules for a domain by specifying source path, destination URL, and HTTP status code (301, 302, or 303) to manage site traffic.
Instructions
Create a site redirect.
Args: domain: Domain. path: Source path (e.g. /old). destination: Target URL. redirect_type: 301 | 302 | 303. impersonate: Owning user. confirm: Required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| domain | Yes | ||
| confirm | No | ||
| destination | Yes | ||
| impersonate | No | ||
| redirect_type | No | 301 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |