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

Write
Rank Math SEO SEO rank-math/fix-site-seo

Apply 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.

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.