wp_update_redirect
Update an existing redirect by its ID to change the source path, target URL, HTTP status code, or enabled state, fixing incorrect or outdated redirects.
Instructions
Update an existing redirect
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| enabled | No | ||
| target_url | No | ||
| source_path | No | ||
| status_code | No |