Skip to content

AEO for WordPress: a practical checklist for AI assistants

A WordPress checklist for AI search: robots.txt, the Discourage search engines box, Yoast and Rank Math settings, page builders, Wordfence and Cloudflare.

By the Do My AEO team. , 8 min read

AEO for WordPress mostly means making sure nothing on your site quietly blocks AI crawlers, then making your key pages easy to quote. Check five things: your robots.txt, the "Discourage search engines" box, your SEO plugin's bot and noindex settings, your security plugin and CDN, and whether each important page states its answer in plain HTML text near the top. Most problems take minutes to fix once found.

None of this guarantees that ChatGPT, Perplexity or Google's AI features will cite you. It removes the reasons they can't.

1. Check what your robots.txt actually says

WordPress generates a "virtual" robots.txt if there is no real file on the server. Its source code (checked November 19, 2026) builds a short default, and since WordPress 5.5 a Sitemap line is added when the site is public. On a site with no SEO plugin it looks like this:

User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php

Sitemap: https://example.com/wp-sitemap.xml

That default does not block any AI crawler. If yours looks different, something changed it. Three common sources:

  • A physical robots.txt file. If a real file exists in your site root, the web server serves it and WordPress's virtual version never runs. WordPress's Reading settings documentation notes the old robots.txt behavior "only works if WordPress is installed in the site root and no robots.txt exists," and Rank Math's General Settings guide warns that changes in its editor "will not have an effect on your website if the actual robots.txt file already exists."
  • An SEO plugin. Yoast and Rank Math can both add rules (details below).
  • Cloudflare. Its managed robots.txt can prepend AI crawler rules to your file when one of your AI policies is set to block or disallow.

Open https://yourdomain.com/robots.txt in a browser and read it. Look for Disallow: / under User-agent: * or under named bots such as OAI-SearchBot, PerplexityBot or Bingbot. Our guide to robots.txt for AI crawlers explains which bots do what and which rules to keep.

2. Untick "Discourage search engines" (on live sites)

In Settings, Reading, the Search engine visibility option has a checkbox labeled "Discourage search engines from indexing this site." WordPress's documentation says that since version 5.3, ticking it causes a robots meta tag with noindex,nofollow to be added to the head of your pages. Up to version 5.2 it put Disallow: / in robots.txt instead. The developer reference confirms 5.3 removed the "Disallow: /" output "in favor of robots meta HTML tag."

So on current WordPress, robots.txt can look perfectly fine while every page tells crawlers not to index it. That matters beyond Google. Bing's Webmaster Guidelines say to "Use NOINDEX when a URL should NOT appear in Bing search, Copilot experiences, or grounding API results."

The classic way this happens: a site is built on staging with the box ticked, then copied to production. To check, view the source of your homepage and search for noindex. If you find <meta name='robots' content='noindex, nofollow' /> and you did not put it there, go to Settings, Reading and untick the box.

3. Yoast SEO settings that affect AI crawlers

Block unwanted bots. Yoast's help page (checked November 19, 2026) gives the path: Yoast SEO, Settings, then under Advanced, Crawl optimization, then Block unwanted bots. The free plugin can block only Google AdsBot. Premium adds toggles for Google-Extended (Gemini and Vertex AI), OpenAI's GPTBot and Common Crawl's CCBot.

Know what these do and do not cover. OpenAI's crawler documentation says its bot settings are independent: you can disallow GPTBot (training) while allowing OAI-SearchBot (ChatGPT search). Yoast's toggles do not include OAI-SearchBot, so blocking GPTBot there should not, on its own, remove you from ChatGPT search. Whether to block training bots at all is a business decision.

Per-page noindex. Yoast's noindex guide shows a per-page setting in the editor sidebar or metabox: in the Advanced tab, "Allow search engines to show this content in search results." If that is set to No on a page you want cited, the page is noindexed. Content types can also be switched off wholesale under Yoast SEO, Settings. Check your key pages and your Pages content type.

llms.txt. Yoast's setup guide puts it under Yoast SEO, Settings, Site Features, AI tools, LLMS.txt, and its feature page says it is "free for everyone." It is harmless to switch on, but Google's AI optimization guide says you can ignore "creating unnecessary AI text files (like llms.txt)" for Google Search. Don't expect it to move anything.

4. Rank Math settings that affect AI crawlers

robots.txt editor. Rank Math's General Settings guide puts it under Rank Math, General Settings, Edit robots.txt. Remember the physical file rule above: if a real robots.txt exists, this editor does nothing.

llms.txt. Rank Math's llms.txt guide says to enable the LLMS Txt module from Rank Math SEO, Dashboard, then configure it in General Settings, Edit llms.txt. The same page is refreshingly honest: "The llms.txt is currently a proposal and not an official standard," and "its adoption across platforms is still limited."

5. Page builders: test what's in the HTML

Elementor, Divi and other builders can produce pages whose text sits in the HTML like any other page, or pages where key content only appears after scripts run, depending on the widgets and settings you use. Don't assume either way. Test.

This matters because most AI crawlers do not run JavaScript. Vercel's December 2024 analysis found "none of the major AI crawlers currently render JavaScript," naming OpenAI's crawlers, ClaudeBot and PerplexityBot. A quick test:

curl -s https://yourdomain.com/pricing/ | grep -i "your opening sentence"

If the command prints nothing, the text is not in the raw HTML. Common culprits are content loaded by AJAX on click, "load more" buttons, and text baked into images or sliders. Text hidden in tabs or accordions is usually still in the HTML, which is fine. Our post on JavaScript rendering and AI crawlers covers fixes.

6. Security plugins, hosts and CDNs

Wordfence. Wordfence's rate limiting documentation explains that crawlers which exceed your limits are temporarily blocked with a 503 response. It gives Google special handling, with options such as "Verified Google crawlers have unlimited access to this site," and the documentation describes no similar exemption for AI crawlers. Wordfence suggests 120 page views per minute for crawlers and recommends "throttle" rather than "block" in most cases. If you set crawler limits low or choose block, a fast AI crawler can be shut out.

Cloudflare. Cloudflare's AI Crawler and Agent access policies let you set Search, Agent and Training traffic to Block or Allow under Security, Settings. Cloudflare now says new domains default to "Allow (do not block)," but older zones may have been changed. Cloudflare defines Search as crawlers that "collect or index your content to answer questions about it later," so setting it to Block shuts out the bots that feed AI answers. See our guide to Cloudflare AI Crawl Control.

Your host. Some hosts run their own firewall or bot filter in front of WordPress, outside anything you can see in the dashboard. If robots.txt looks fine but bots still fail, ask support whether they block or challenge AI crawler user agents. This test shows what a bot gets back:

curl -s -o /dev/null -w "%{http_code}\n" -A "Mozilla/5.0 (compatible; OAI-SearchBot/1.4; +https://openai.com/searchbot)" https://yourdomain.com/

A 200 is good. A 403 or 503 points to a block. It is only a hint: OpenAI publishes the IP ranges its crawlers use, and a firewall that checks IPs can treat your test differently from the real bot.

7. Rewrite the opening of key pages in the block editor

Once crawlers can reach a page, give them something worth quoting. In the WordPress admin, go to Pages, All Pages, and edit your homepage, pricing page and main service or product pages.

  • Make the first Paragraph block under the title a direct answer: what you sell, who it is for, what it costs and one or two concrete features.
  • Use real text, not an image or slider with text baked in.
  • If a builder template puts a large hero and a tagline above the content, put the plain answer immediately below the hero heading.
  • Turn the questions customers actually ask into Heading blocks, and answer each one in the first sentence beneath it.

Our guide to answer-first pages has a before and after example. Our free scan checks whether your key pages open with a direct answer, alongside robots.txt and noindex.

The checklist

Check Where Pass
robots.txt has no Disallow: / for AI search bots yourdomain.com/robots.txt No blanket block for OAI-SearchBot, PerplexityBot, Bingbot
No stray physical robots.txt overriding plugin edits Hosting file manager or FTP Only one source of rules you know about
"Discourage search engines" is unticked Settings, Reading No noindex in homepage source
No noindex on key pages Yoast Advanced tab or your SEO plugin Key pages set to show in search
AI bot toggles match your intent Yoast Crawl optimization; Rank Math robots.txt Training blocked only if you chose to
Key text is in raw HTML curl or View Source Opening sentence found
Security plugin is not blocking crawlers Wordfence rate limiting Throttle, sensible limits
CDN AI policies allow Search Cloudflare Security, Settings Search set to Allow
Host firewall allows AI crawlers Host support Bot user agent test returns 200
Openings answer the main question Block editor First paragraph is quotable on its own

Sources

Frequently asked questions

Does WordPress block AI crawlers by default?+

No. WordPress's default virtual robots.txt only disallows the /wp-admin/ folder, with an exception for admin-ajax.php. If AI crawlers are blocked, look at your SEO plugin, any physical robots.txt file, your security plugin, your host's firewall and Cloudflare.

What does Discourage search engines from indexing this site do?+

Since WordPress 5.3, ticking that box in Settings, Reading adds a robots meta tag with noindex and nofollow to your pages. It no longer adds Disallow: / to robots.txt, so crawlers can still fetch pages but are asked not to index them.

Does blocking GPTBot in Yoast remove my site from ChatGPT search?+

Not by itself. OpenAI says GPTBot and OAI-SearchBot are controlled independently, and Yoast's Block unwanted bots toggles cover GPTBot but not OAI-SearchBot. ChatGPT search depends on OAI-SearchBot.

Why are my robots.txt changes in Yoast or Rank Math not showing up?+

Usually because a physical robots.txt file exists on the server. Rank Math's documentation says its robots.txt editor has no effect if a real file already exists, and WordPress's virtual file is only served when there is no physical one.