Skip to main content
Guides 2026-09-23 Updated 2026-10-26 · 14 min read

How to Optimize WordPress for AI Search: Plugins, Schema and Performance

WordPress GEO in three layers: which plugin emits llms.txt and schema, the five settings that keep pages out of AI answers and how to prove a fix worked.

Dark slabs rising like steps, the top step marked in indigo

Quick answer

Canlah AI optimizes WordPress for AI search in three layers under the method in this guide: open the site to the retrieval crawlers, publish llms.txt and one clean JSON-LD graph, then write every section so its first sentence is a liftable answer. WordPress runs 40.2% of all websites and 58.8% of sites with a known content management system, measured by W3Techs on September 22, 2026, so almost all of the work is plugin configuration rather than code.

Canlah AI runs this sequence on every engagement and publishes the manual version here. The comparison below covers six WordPress plugins reviewed on September 23, 2026, from Yoast SEO at 10,000,000 active installations to Website LLMs.txt at 40,000, and five of the six state llms.txt output on their WordPress.org listings.

Treat the result as directional. Installing a plugin does not cause a citation, and no WordPress setting controls how an independent model answers a question. Freeze a panel of buyer questions, record engine, market, language and date, then re-run that panel after the changes ship.

Disclosure: Canlah AI publishes this guide and offers a free AI visibility report within 48 hours. Plugin capabilities, versions, install counts and last-updated dates come from each plugin’s own WordPress.org listing, read on September 23, 2026, and were not tested through paid licences. Install figures are WordPress.org’s rounded public buckets, not independent measurements.

What does optimizing WordPress for AI search actually change?

Optimizing WordPress for AI search changes six things, and only one of them, answer shape, is something a human reader would notice. The other five are machine-facing, and most WordPress sites inherit them from whichever SEO plugin was installed first or from the host.

  • Crawl access: whether robots.txt allows the retrieval agents behind ChatGPT, Perplexity and Google, and whether the reading settings set the site to noindex.
  • Structured data: which JSON-LD graph the site emits, which entity is named as publisher and whether two plugins emit conflicting copies of it.
  • Machine index files: the XML sitemap, and llms.txt, the plain-text index of the pages a site wants a language model to read.
  • Answer shape: whether the first sentence under each heading states the answer with its number, or spends three lines setting the scene.
  • Retrieval readiness: whether the sentence you want quoted is in the HTML before any JavaScript runs.
  • Evidence: whether server logs show, per user agent, that the retrieval crawlers came back after the change.

Seven outputs decide whether a WordPress page is eligible to be quoted, and a single SEO suite should cover six of them. The seventh, server log access, belongs to the host rather than the plugin.

  1. An editable robots.txt, so retrieval agents can be allowed or denied individually rather than as one block.
  2. A per-page indexability control that does not depend on the site-wide reading setting.
  3. A JSON-LD graph with one Organization node, one WebSite node and one stable identifier per entity.
  4. FAQPage and Article markup generated from the visible page content, not from a hidden field.
  5. An XML sitemap that lists the pages you want retrieved and excludes thin archives.
  6. An llms.txt file at the site root, with manual control over which pages appear in it.
  7. Raw server logs, filterable by user agent and kept for at least 90 days.

Six WordPress plugins for generative engine optimization compared

Six WordPress plugins publicly document generative engine optimization features: four full SEO suites that added llms.txt and AI-search reporting during 2025 and 2026, plus two narrower tools. The table records what each WordPress.org listing states on September 23, 2026, not what Canlah AI tested each plugin to do.

Comparison of six WordPress plugins reviewed September 23, 2026.

Plugin Active installations llms.txt output Schema output Best fit Main limitation
Yoast SEO 28.5 10,000,000 LLMs.txt management, with manual page control Schema.org graph in free; more types and E-E-A-T nodes in Premium Editorial teams that want guidance inside the editor NLWeb aggregation and the AI bot blocker are Premium only
Rank Math 1.0.279 4,000,000 llms.txt output, updated in 2026 to the current spec 16+ schema types selectable per post Sites wanting AI-mention reporting in the same dashboard AI Visibility names ChatGPT and Gemini; DeepSeek, Qwen and Doubao: Not stated on the reviewed listing
All in One SEO 5.0.1.1 2,000,000 llms.txt Generator, plus IndexNow and a robots.txt editor Full JSON-LD schema including breadcrumbs Sites that also need AI search rank tracking and an MCP server Rank tracking and most GEO reporting sit in the Pro tier
SEOPress 10.2 300,000 Native llms.txt plus a one-click Agent Readiness toggle Schema from any editor, including Elementor, Divi and Bricks White-label, privacy-first agency builds Smallest installed base of the four suites, at 300,000
Slim SEO 4.10.1 70,000 Not stated on the reviewed listing Automatic schema with no per-post interface Performance-sensitive sites that want no admin surface llms.txt and AI-search reporting: Not stated on the reviewed listing
Website LLMs.txt 8.6.2 40,000 Its only job: generates and manages llms.txt Not stated on the reviewed listing Adding llms.txt to a site whose SEO plugin does not generate it Single purpose; relies on an SEO plugin for everything else

Source: WordPress.org plugin directory listings read September 23, 2026. “Not stated on the reviewed listing” means the plugin’s own WordPress.org page did not name that capability when it was read on that date. It is not proof that the capability is absent, and it is not a statement about the plugin’s quality.

Yoast SEO has the largest installed base in this set, 10,000,000, and puts llms.txt management in the free tier. NLWeb schema aggregation and the crawler blocker covering GPTBot, CCBot and Google-Extended are Premium only. Verify which of the two you need before upgrading.

Rank Math’s listing describes AI-answer brand monitoring in the most detail in this set, with sentiment, competitor comparison, per-country checks and full transcripts. That reporting names ChatGPT and Gemini, so a brand selling into Greater China still needs separate measurement for DeepSeek, Qwen and Doubao. Verify the engines the current release covers.

All in One SEO puts its llms.txt generator, IndexNow and a robots.txt editor in one screen, the shortest path in this set to a correct crawl configuration. AI search rank tracking and most GEO reporting sit in the Pro tier. Verify the Pro price against a standalone monitoring tool.

SEOPress fits agencies that need a white-label admin, and its Agent Readiness toggle, added in 9.8, is the only one-click AI-search control named in this set. Its 300,000 active installations are the smallest base of the four suites. Verify that your page builder is on its integration list.

Slim SEO keeps the admin surface minimal, generating meta tags, sitemaps and schema automatically, and its 4.8.0 release on December 4, 2025 added robots.txt editing. Its reviewed listing did not state llms.txt output or AI-search reporting. Verify the current changelog before ruling either out.

Website LLMs.txt does one job, generating and managing llms.txt, and its listing names integrations with all four suites above. It relies on an SEO plugin for everything else. Verify that it and the SEO plugin do not both publish a file at the same path.

One widely used plugin was left out. The SEO Framework reports 200,000 active installations, more than Slim SEO or Website LLMs.txt, but its listing was last updated on December 10, 2025 and an AI-search capability was not stated on it, so Canlah AI did not qualify it.

Five WordPress settings that keep pages out of AI answers

Five WordPress settings recur in the sites Canlah AI audits that publish good content and still get no AI citations. Four of the five are set by default or by a previous developer, and none of them produces a visible error.

Discourage search engines from indexing this site: this checkbox in Settings, Reading adds a noindex, nofollow robots tag to every page, which tells every engine that respects it to leave the whole site out. It survives staging-to-production launches more often than any other misconfiguration, so check it before any plugin work.

Two SEO plugins emitting schema at once: a site migrating from Yoast SEO to Rank Math often runs both for a week and never finishes, leaving two Organization nodes and two WebSite nodes with different identifiers. That gives an engine two answers to the question of who published the page. Deactivate one, then validate the remaining graph.

Answer text that only exists after JavaScript runs: Vercel’s measurement reports that no major AI retrieval crawler executes JavaScript, with Googlebot and Applebot the exceptions. On WordPress this affects AJAX post lists, lazy-loaded blocks and page-builder sections that fetch copy client-side. Fetch the page with curl -s https://example.com/page/ and search the raw HTML for the sentence you want quoted.

Thin tag, author and date archives left indexable: WordPress generates an archive for every tag, category, author and month by default, so a site with 60 posts can publish several hundred near-empty pages that compete with the page holding the answer. Canlah AI excludes them in the plugin and keeps only the archives with editorial value.

Section openings that set the scene: a Canlah AI study of 60 queries across ChatGPT and Google AI Mode, covering 526 citations on 92 cited pages on September 23, 2026, found that the copied sentence is almost always the first sentence of a paragraph. Roughly 73% of copied facts sat in the first 30% of the page. A WordPress heading followed by a warm-up sentence is a heading that cannot be quoted.

How to build an answer block in the WordPress block editor

An answer block in the WordPress block editor takes six steps and no plugin: one H2 heading plus one paragraph whose first sentence states the subject, the verdict and the number. Canlah AI builds every on-site answer block in this order.

  1. Write the heading as the question a buyer types, in sentence case, as an H2 block.
  2. Write the first sentence of the next paragraph as the complete answer, with the figure in it, so that it survives being quoted alone.
  3. Keep that paragraph to two to four sentences, then use the following paragraph for the qualification.
  4. Put every number that matters into the first 30% of the post, and into a table.
  5. Add the table as a core Table block, with column headers that carry the judgment, such as “Best fit” or “Main limitation”, rather than “Yes” and “No”.
  6. Use the plugin’s FAQ block, or a plain heading-and-paragraph pair, so the FAQPage markup comes from text the reader can see.

What page speed costs a WordPress site in AI retrieval

Page speed costs a WordPress site AI citations only when the answer misses a crawler’s single fetch, a narrower test than Google’s three Core Web Vitals thresholds of 2.5 seconds, 200 milliseconds and 0.1. Those thresholds, for Largest Contentful Paint, Interaction to Next Paint and Cumulative Layout Shift, remain the right targets for human visitors. A crawler that does not render records none of them: it fetches once, waits on a timeout and keeps whatever arrived.

Three WordPress-specific fixes protect that single fetch. Cache the HTML so the server answers from memory rather than rebuilding the page through the theme and plugin stack. Move the answer block above any lazy-loaded region. Cut the plugin count on the critical template, because each active plugin adds queries to the same time budget.

Canlah AI treats this as a prerequisite rather than a lever. A slow page that returns the answer in its HTML will still be cited; a fast page that returns an empty shell will not.

How to run a defensible WordPress GEO baseline

A defensible WordPress GEO baseline takes seven steps and about one working day, and Canlah AI runs it before any plugin is installed or replaced. The point is to hold the measurement fixed so that the next run is comparable.

  1. Record the WordPress version, the active SEO plugin and its version, the theme and the page builder, with the date.
  2. Fetch six representative templates with a plain HTTP client and confirm the answer sentence is in the raw HTML.
  3. Read robots.txt and the Settings, Reading checkbox, recording the status of each retrieval user agent separately.
  4. Validate the JSON-LD graph on those six templates and count the Organization and WebSite nodes.
  5. Check whether llms.txt exists at the site root and which pages it lists.
  6. Freeze five to ten buyer questions, run them across the engines your buyers use and save the full answers with cited sources.
  7. Re-run steps two to six after the changes ship and keep both archives, not just two scores.

What a WordPress plugin cannot do

A WordPress plugin cannot do five things that decide whether a page is cited, which is why the baseline above comes before any plugin choice.

  • It cannot make an engine cite the page, because no plugin controls how an independent model answers a question.
  • It cannot prove that a change caused a citation without a frozen question panel, a recorded date and repeated observation.
  • It cannot fix an answer that is missing from the HTML because a page builder renders it in the browser.
  • It cannot create third-party evidence, the layer most answers actually cite.
  • It cannot report your server logs, because the plugin sees only requests that reached WordPress.

When to move from plugin defaults to a measured program

Plugin defaults stop being enough once any one of four conditions applies: AI-assisted research affects a real buying decision, the brand operates in more than one language, an engine describes the company incorrectly or several people publish facts that must stay consistent. The missing piece is not another plugin but a frozen question panel plus an archive that records engine and date and can be re-run.

Canlah AI is a Singapore-based SEO + GEO agency that measures and improves brand visibility inside ChatGPT, Gemini, Google AI Overviews and Google AI Mode, reporting AI visibility as re-verifiable ranges with timestamped evidence. Its limitation on WordPress work is specific: Canlah AI does not build or maintain WordPress plugins and does not host client sites, so the on-site work happens inside whichever SEO plugin the client already runs, and a client with an unmaintained custom theme spends the first sprint on the theme rather than on visibility.

Canlah AI applies the measurement, not the platform, to itself. Its own site is not WordPress, and its September 7, 2026 self-audit of canlah.ai scored 71 overall with eight P1 and 14 P2 findings, reached 80 pages against a sitemap declaring 174 URLs and recorded only three JSON-LD blocks.

Whichever route you take, verify before you trust any list, including this one: ask to see raw answers and cited URLs next to every score, and re-run your frozen question panel yourself. A plugin setting you cannot trace to a change in an AI answer is a configuration, not a result.

Frequently asked questions

How do I optimize WordPress for AI search?

Optimize WordPress for AI search in three layers: allow the retrieval crawlers in robots.txt and the Settings, Reading screen, publish llms.txt and one clean JSON-LD graph through a single SEO plugin, then write each section so its first sentence answers the heading with a number. Freeze five to ten buyer questions before the changes ship and re-run them afterwards. Canlah AI runs this sequence as the on-site stage of every engagement.

Do I need a plugin to do generative engine optimization for WordPress?

No. Every requirement in this guide can be met by hand: robots.txt in the site root, JSON-LD in the theme header, an llms.txt file uploaded by FTP and answer blocks written in the editor. Canlah AI treats the plugin as a maintenance decision rather than a capability decision, and it matters most when several people publish on the same site.

Which WordPress plugin generates llms.txt?

Five of the six WordPress plugins Canlah AI reviewed on September 23, 2026 state llms.txt output on their listings. Yoast SEO, Rank Math, All in One SEO and SEOPress generate it inside a full SEO suite, and Website LLMs.txt generates it as a standalone plugin that integrates with all four. Slim SEO’s reviewed listing did not state llms.txt output.

Can I run Yoast SEO and Rank Math at the same time?

Not without producing duplicate structured data. Yoast SEO and Rank Math both emit a full JSON-LD graph, so running both gives search and answer engines two Organization nodes and two WebSite nodes with different identifiers. Use one plugin’s migration tool, then deactivate and delete the other before validating the remaining graph.

How do I check whether ChatGPT can read my WordPress page?

Check whether ChatGPT can read a WordPress page by fetching it with a plain HTTP client such as curl and searching the raw response for the sentence you want quoted. If the sentence is missing there, it is missing for every retrieval agent that does not render JavaScript. Confirm separately that robots.txt allows OAI-SearchBot and that the page is not set to noindex.

Method and sources

Capabilities, versions, dates and install counts for six plugins, plus one excluded plugin, were read from the WordPress.org plugin directory on September 23, 2026. Canlah AI used no paid licence, Pro tier or vendor demonstration and benchmarked no plugin against another. Feature sets change with every release, so confirm the current scope on each listing before buying.

  • Yoast SEO 28.5, updated September 15, 2026. Free and Premium split, LLMs.txt management, NLWeb schema aggregation and bot blocker scope. Yoast SEO listing
  • Rank Math 1.0.279, updated September 22, 2026. AI Visibility reporting scope, llms.txt spec conformance and schema type count. Rank Math listing
  • All in One SEO 5.0.1.1, updated August 28, 2026. llms.txt Generator, AI Search Rank Tracking, IndexNow and robots.txt editor. All in One SEO listing
  • SEOPress 10.2, updated September 11, 2026. Native llms.txt, the Agent Readiness toggle added in 9.8 and the page-builder integrations. SEOPress listing
  • Slim SEO 4.10.1, updated September 7, 2026. Automatic schema scope and the 4.8.0 robots.txt editor. Slim SEO listing
  • Website LLMs.txt 8.6.2, updated September 22, 2026. Standalone llms.txt generation and its four SEO-plugin integrations. Website LLMs.txt listing
  • The SEO Framework, updated December 10, 2025. The install count and date behind its exclusion. The SEO Framework listing
  • W3Techs, usage statistics of WordPress, September 22, 2026. The 40.2% of all websites and 58.8% of known content management systems figures. W3Techs WordPress usage
  • Google Search Central, Core Web Vitals thresholds. The 2.5 second, 200 millisecond and 0.1 targets. Core Web Vitals
  • Vercel, The rise of the AI crawler. The finding that major AI retrieval crawlers do not execute JavaScript. Vercel measurement
  • Canlah AI citation-format study, 60 queries across ChatGPT and Google AI Mode, 526 citations and 92 cited pages, September 23, 2026. The first-sentence and first-30% findings.
  • Canlah AI self-audit of canlah.ai, September 7, 2026, internal export. The overall score of 71, the eight P1 and 14 P2 findings, the 80 crawled pages against 174 sitemap URLs and the three JSON-LD blocks.

See whether AI engines can read your WordPress pages. Run the free AI visibility audit →

Related articles

FREE WHITEPAPER

Marketing in the Agent Era

All 13 chapters public — no email wall. Includes an original dataset on the agent-readiness of 50 cross-border DTC brands.

Read it free →