royal-mcp__wp_update_permalink_structure
Update the WordPress permalink structure. Requires the "Allow AI to write WordPress options" admin toggle. Common values: /%postname%/, /%year%/%monthnum%/%postname%/, /%category%/%postname%/. Changing this rewrites every URL on the site — flushes rewrite rules automatically. Set dry_run=true to preview the change (current + proposed structure, affected post types, sample current URLs) without writing or flushing rewrite rules. (site: demo.royalplugins.com) Through Royally: waits for a person to approve it in Royally; nothing on the site changes until then.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Preview the change without writing or flushing rewrite rules. | |
| site_id | No | Site to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com) | |
| structure | Yes | New permalink structure (e.g. /%postname%/) |