bricks_create_redirect
Create 301, 302, or 307 redirects from a source path to a target URL. Hits are tracked automatically on the frontend.
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) |