bricks_create_redirect
Create URL redirects (301, 302, 307) with automatic hit tracking on the frontend. Specify source path and target URL.
Instructions
Create a 301/302/307 redirect. Hits are tracked automatically on the frontend.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Redirect type: 301 (permanent), 302 (temporary), 307 (temporary preserve method). Default: 301 | |
| source | Yes | Source path (e.g. /old-page) | |
| target | Yes | Target URL (e.g. https://example.com/new-page) |