Fix site SEO is a WordPress ability from Rank Math SEO — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.
Install Free Plugin →Fix site SEO
WriteApply an automatic fix for a single failing Rank Math SEO audit test.
Requires the Rank Math SEO plugin on WordPress 6.9+ for the Abilities API. AI Visibility abilities require the 'manage_options' capability; Link Genius abilities require 'rank_math_link_builder'; Post SEO abilities require 'rank_math_onpage_general'; Schema abilities require 'rank_math_onpage_snippet'; SEO Analysis abilities require 'rank_math_site_analysis'; Analytics abilities require 'rank_math_analytics'; Content Analysis abilities require 'rank_math_onpage_analysis'. Some outputs (broken-link audit data in get-link-report, extra schema types in get-post-schema) are only populated when Rank Math PRO is active.
What it does
This ability applies Rank Math's built-in automatic fix for one failing test from an audit-site-seo finding, identified by test_id (one of blog_public, permalink_structure, site_description, sitemaps, schema, noindex, opengraph, robots_txt, focus_keywords, or post_titles). Some fixes need extra input — for example site_description requires a value with the new tagline — and the bulk post-level fixes (focus_keywords, post_titles) accept an optional post_limit (1-500, default 100) to cap how many posts are updated in one call. It returns whether the fix was applied, a human-readable summary, and supporting details, letting an AI assistant remediate audit findings directly instead of just describing them. Requires the 'rank_math_site_analysis' capability.
See it in action
You ask your AI assistant
"Fix the site_description SEO test and set the tagline to 'Handmade candles shipped worldwide'."
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| test_id | string | Yes | The SEO test identifier to fix (from audit-site-seo findings). |
| value | string | No | Required for site_description: the new tagline to set. |
| post_limit | integer | No | For bulk post fixes (focus_keywords, post_titles): max posts to update in one call. Default 100. |
Returns
An object with fixed (boolean), summary (string), and details (object) describing what was changed.
Permission
Requires the 'rank_math_site_analysis' capability.
More Rank Math SEO abilities
Analyze post content
Gather a post's raw content, metadata, and list of on-page SEO tests so an AI agent can run Rank Math's full on-page analysis itself.
Audit site SEO
Run Rank Math's site-wide SEO audit and get back a structured score with per-test findings and fix hints.
Create AI Visibility brand
Add a new brand to AI Visibility monitoring and automatically kick off its first analysis.
Get AI Visibility brand insights
Pull the full AI Visibility analysis for a single brand — score, rank, sentiment, mentions, citations, competitor breakdown, and raw per-query AI responses.
Get AI Visibility brand queries
List the search queries being monitored for a brand's AI Visibility tracking, including which are enabled or auto-generated baselines.
Get AI Visibility overview
Retrieve the site-level AI Visibility summary and every tracked brand's current score, rank, sentiment, and analysis status.