create_redirect
Create or replace a redirect mapping one path to another, checked before page lookup. Set a 301 permanent or 302 temporary redirect to send visitors to the right URL.
Instructions
Create or replace a redirect from one path to another. Checked before page lookup. http_code 301 (default) or 302.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| http_code | No | ||
| to_permalink | Yes | Relative path or absolute URL | |
| from_permalink | Yes |