Fix WordPress SEO from Claude Code
Claude Code reads your real Google Search Console data through SEOmatic, finds what is holding your WordPress pages back, and stages the fix. Nothing goes live on WordPress until you approve it, and any edit to an existing page can be rolled back.
- Your real Search Console data
- Fixes staged in WordPress
- Nothing goes live until you approve

About WordPress in SEOmatic
SEOmatic connects directly to WordPress via the REST API. Agents work on the pages you already have, and can create new ones in bulk when you approve a campaign. WordPress is the only platform where agents can edit every SEO field we support.
Last Updated
October 2026
Requirements
A self-hosted WordPress site (WordPress.org, not WordPress.com), running version 5.6 or later on HTTPS. Administrator or Editor account access required. If you use security plugins (Wordfence, iThemes) or Cloudflare, ensure they don't block the REST API.
How to Fix WordPress SEO from Claude Code
Step 1: Connect WordPress to SEOmatic
SEOmatic connects directly to your WordPress site via the REST API, then goes to work on the pages you already have.
Step 1: In SEOmatic, go to Connections and select WordPress. Enter your domain and click Connect. SEOmatic redirects you to WordPress where you approve the connection with one click.
Step 2: WordPress generates a secure Application Password automatically. Your post types, custom fields and taxonomies are synced instantly.
Step 3: Agents read your Search Console data, diagnose what is holding pages back, and propose specific fixes with the reasoning attached.
Step 4: You review each proposal and approve the ones you want. Approved work is applied to your live site, logged as a diff you can read, and reverted with one click if you change your mind.
Step 2: Connect SEOmatic to Claude Code
Run this in your terminal. Then start Claude Code, type /mcp, pick seomatic and choose Authenticate. Sign in to SEOmatic in the browser and pick your site.
claude mcp add --transport http seomatic https://app.seomatic.ai/api/mcpOther ways to connect are on the Claude Code page.
Step 3: Ask Claude Code, Then Approve
Paste any of these. Claude Code answers from your data and stages the fix; you approve it before it reaches WordPress.
- “Which of my WordPress pages lost the most clicks this month, and why?”
- “Stage new titles for my WordPress pages with high impressions and low CTR.”
- “Find WordPress pages Google has not indexed and tell me what is blocking them.”
- “Audit my WordPress homepage and rank the fixes by impact.”
What Claude Code Can Change on WordPress
Titles, meta, body content, slugs and schema, edited in place on pages that are already live.
The agent arrives switched off and starts in approval mode. It earns more rope only when you give it.
Meta is written to Yoast, Rank Math, All in One SEO or SEOPress, whichever you run, and checked. A field your SEO plugin blocks comes to you as paste-ready text today; our free SEO Writer plugin, coming soon to WordPress.org, will let those land directly.
A before and after view with the reasoning attached, so you see what changed and why.
Any change rolls back to its exact previous value. Low-risk edits that cost you traffic revert on their own.
Mark the pages you cannot afford to lose. Work on them always waits for your yes, even in automatic mode.
ACF fields are detected automatically, including Repeater, Group and Flexible Content.
Every registered post type is found automatically. Portfolios, events and testimonials need no setup.
Works with Elementor, Divi, Gutenberg and any other builder. Your layouts stay intact.
WordPress exposes more of itself through its API than any other platform we connect to, so it is the one place agents can reach every SEO field we support, from content and slugs to schema, canonicals and noindex.
Full details on the WordPress integration page.
Requirements
WordPress
A self-hosted WordPress site (WordPress.org, not WordPress.com), running version 5.6 or later on HTTPS. Administrator or Editor account access required. If you use security plugins (Wordfence, iThemes) or Cloudflare, ensure they don't block the REST API.
Claude Code
Claude Code and a free SEOmatic account. No API key and no Google Cloud project: the connection signs in through your browser.
Fix WordPress SEO from Another Agent
- Fix WordPress SEO from Claude
- Fix WordPress SEO from Claude Cowork
- Fix WordPress SEO from ChatGPT
- Fix WordPress SEO from Codex
- Fix WordPress SEO from Gemini
- Fix WordPress SEO from Grok Bot
- Fix WordPress SEO from Perplexity Computer
- Fix WordPress SEO from OpenClaw
- Fix WordPress SEO from Hermes Agent
- Fix WordPress SEO from Manus
- Fix WordPress SEO from Cursor
Use Claude Code on Another Platform
- Fix Webflow SEO from Claude Code
- Fix Shopify SEO from Claude Code
- Fix Ghost SEO from Claude Code
- Fix Blogger SEO from Claude Code
- Fix Wix SEO from Claude Code
- Fix Squarespace SEO from Claude Code
- Fix Framer SEO from Claude Code
- Fix Drupal SEO from Claude Code
- Fix BigCommerce SEO from Claude Code
- Fix HubSpot CMS SEO from Claude Code
- Fix Contentful SEO from Claude Code
- Fix Strapi SEO from Claude Code
- Fix Sanity SEO from Claude Code
- Fix Next.js SEO from Claude Code
- Fix Lovable SEO from Claude Code
- Fix GitHub SEO from Claude Code
- Fix Craft CMS SEO from Claude Code
Frequently Asked Questions
Can Claude Code fix SEO on my WordPress site?
Yes, through SEOmatic. Claude Code reads your Google Search Console data, finds what is holding your WordPress pages back and stages the fix. SEOmatic connects directly to WordPress via the REST API. Agents work on the pages you already have, and can create new ones in bulk when you approve a campaign. WordPress is the only platform where agents can edit every SEO field we support.
What can Claude Code change on WordPress?
Fixes On Your Existing Pages: Titles, meta, body content, slugs and schema, edited in place on pages that are already live. You Approve Before It Ships: The agent arrives switched off and starts in approval mode. It earns more rope only when you give it. Meta Tags and SEO Plugins: Meta is written to Yoast, Rank Math, All in One SEO or SEOPress, whichever you run, and checked. A field your SEO plugin blocks comes to you as paste-ready text today; our free SEO Writer plugin, coming soon to WordPress.org, will let those land directly. A Diff For Every Change: A before and after view with the reasoning attached, so you see what changed and why. One Click Revert: Any change rolls back to its exact previous value. Low-risk edits that cost you traffic revert on their own. Money Pages Stay Protected: Mark the pages you cannot afford to lose. Work on them always waits for your yes, even in automatic mode.
What do I need to connect WordPress?
A self-hosted WordPress site (WordPress.org, not WordPress.com), running version 5.6 or later on HTTPS. Administrator or Editor account access required. If you use security plugins (Wordfence, iThemes) or Cloudflare, ensure they don't block the REST API.
What do I need on the Claude Code side?
Claude Code and a free SEOmatic account. No API key and no Google Cloud project: the connection signs in through your browser.
Will Claude Code publish to WordPress without asking?
No. By default every change SEOmatic proposes waits for your approval before it touches your site, and your assistant is told never to approve on its own. Approved changes are stored with the page's previous state, so any edit to an existing page can be rolled back. If you later want low-risk fixes to go ahead on their own, you can turn that on in your autonomy settings; changes to your URLs or indexing, and new content, still wait for you.
Is it free?
Connecting is free with no card: 5 questions a month from your own data, plus 10 once you connect Search Console, and site audits of up to 30 pages. Staging and publishing fixes is part of paid plans, which start with a 14-day free trial.


