Guide · Based on provider documentation
A WordPress website review for AI search accessibility
A structured review a WordPress site owner can run or commission to confirm search and AI crawlers can reach, read and identify the site, with a findings table.
On this page
- Key points
- Decide who runs the review
- Check 1: the Reading setting and noindex
- Check 2: the robots.txt WordPress actually serves
- Check 3: security plugins and CDN bot rules
- Check 4: content that only appears with JavaScript
- Check 5: canonical URLs
- Check 6: XML sitemaps
- Check 7: structured data and who the site says it is
- Questions to ask your developer or host
- Record findings in one table
- Frequently asked questions
- Sources
Before you spend money on content or tools to optimize WordPress for AI search, confirm that search and AI crawlers can actually reach, read and identify your site. A short review covers seven areas: the Reading setting, the robots.txt file WordPress really serves, security and CDN bot rules, JavaScript-dependent content, canonicals, sitemaps, and the structured data that says who you are. Each check produces a finding with an owner, which you can fix yourself or hand to a developer.
Decide who runs the review
Most of this review needs only a browser and admin access. A site owner can work through the Reading setting, the live robots.txt, the sitemap and a page’s source code in an afternoon. The CDN, firewall and server log checks usually need whoever manages hosting, because those settings sit outside the WordPress dashboard.
A sensible split: the owner or marketing lead runs the first pass and fills in the findings table, then a developer or host confirms anything that touches server configuration. If nobody on the team can read response headers or server logs, that is a reason to commission the review rather than skip those rows.
Run the review at three moments: before any generative engine optimization (GEO) project starts, after a site migration or theme change, and after anyone changes security or CDN settings. Those are the events most likely to reset an access setting without anyone noticing.
Check 1: the Reading setting and noindex
Go to Settings, then Reading, and look at “Search engine visibility”. The WordPress documentation for this screen says that checking “Discourage search engines from indexing this site” asks search engines not to index the site. Since WordPress 5.3, it causes a robots meta tag with noindex and nofollow to be printed in the page head (if the theme calls wp_head). The developer reference for wp_robots_no_robots(), introduced in 5.7, shows the function that adds the noindex directive.
The same documentation is clear that this is a request, not a lock: “it is up to search engines to honor your request.” Google’s own eligibility rule for its AI features follows from indexing. Google’s guide to generative AI features on Google Search says a page “must be indexed and eligible to be shown in Google Search with a snippet”. A page carrying noindex fails that test.
The box is often left on after a launch, because developers tick it on staging and the setting travels with a database copy. Check it, then confirm on the live site by viewing the source of the home page and one article and searching for name="robots". SEO plugins can also print noindex on individual post types, taxonomies or pages, so look at a sample of each template, not only the home page.
- Settings, Reading: “Discourage search engines” is unchecked on production.
- Page source of the home page, a post, a page and an archive: no unexpected noindex.
- Response headers for the same URLs: no unexpected
X-Robots-Tag: noindexadded by the server or host.
Check 2: the robots.txt WordPress actually serves
WordPress generates a virtual robots.txt when no physical file exists in the site root. The developer reference for do_robots() shows the default output: a User-agent: * group that disallows the admin path and allows admin-ajax.php. Since 5.3, core no longer adds Disallow: / when search engines are discouraged. The output passes through the robots_txt filter, which is how plugins add or replace rules.
Four other parties can change what a crawler receives:
- Core sitemaps.
WP_Sitemaps::add_robots, since 5.5, appends aSitemap:line pointing at the sitemap index, but only when the site is public. - SEO plugins. Yoast SEO’s help page describes a File Editor under Yoast SEO, Tools that creates and edits a robots.txt file, and notes it may fail if the file is not writable. Other SEO plugins offer similar editors.
- A physical file. Yoast’s help page explains that WordPress generates the virtual file only when the site root has no physical file, and the WordPress Reading documentation notes that its older robots.txt behavior worked only when “no robots.txt exists”. A leftover physical file from a previous developer can therefore override everything else.
- Your CDN. Cloudflare’s robots.txt setting documentation says Cloudflare “will prepend our managed
robots.txtbefore your existingrobots.txt” when its managed rules are on. Its example disallows agents including GPTBot, ClaudeBot, Google-Extended and Applebot-Extended.
So the only reliable check is to open https://yourdomain.com/robots.txt in a browser and read it. Look for Disallow: / under User-agent: *, and for groups naming specific crawlers. Then decide whether each block is deliberate. Blocking a training crawler such as GPTBot can be a sound policy choice; blocking OAI-SearchBot, which OpenAI says is used to surface sites in ChatGPT search, is a different choice with different consequences. Our guide to managing search access and AI training preferences sets out how to make that call per crawler.
Check 3: security plugins and CDN bot rules
A robots.txt rule asks a crawler to stay away. A firewall rule refuses the request. The second is invisible from robots.txt, so it needs its own check.
Cloudflare’s “AI Crawler and Agent access policies” documentation groups AI traffic into three behaviors: Search (“crawlers that collect or index your content to answer questions about it later”), Agent (activity “acting in real time on a person’s behalf”) and Training. Each can be set to Block, Block on pages with ads, or Allow. Training also has a Disallow option that works through robots.txt. Cloudflare says new domains default to Allow for all three, so a block on an existing zone is usually the result of a past decision. Find out who made it and why.
The detail to notice: Cloudflare says “Training actions also apply to mixed-purpose crawlers used for both Search and Training.” A zone that blocks Training may therefore turn away a crawler that also feeds a search product. Ask your CDN administrator for the current setting of each behavior and write it in the findings table.
WordPress security and firewall plugins can rate-limit or block unfamiliar user agents and IP ranges. The rules differ by product, so check the plugin’s own block log for entries naming GPTBot, OAI-SearchBot, ClaudeBot, Claude-SearchBot, PerplexityBot, Bingbot or Googlebot. Operators publish IP lists that let a developer verify genuine requests: OpenAI at openai.com/searchbot.json and gptbot.json, Perplexity at perplexity.ai/perplexitybot.json, and Anthropic at claude.com/crawling/bots.json. Anthropic’s help center also warns that blocking its IP addresses “may not work correctly or persistently guarantee an opt-out” because it stops the crawler reading robots.txt.
Check 4: content that only appears with JavaScript
Google’s JavaScript SEO basics describe three phases: crawling, rendering and indexing. Pages with a 200 status are queued for rendering in headless Chromium “once Google’s resources allow”. The same page recommends server-side or pre-rendering and states plainly that “not all bots can run JavaScript.” The crawler pages from OpenAI, Anthropic and Perplexity opened for this review do not say whether their crawlers execute JavaScript, so it is safest not to rely on it.
Most WordPress themes render posts on the server, which is good news. The risk sits in add-ons: tabbed or accordion blocks that load content after a click, review widgets, pricing tables filled by a script, store locators, and page builders that inject text client-side.
The check: open a key page, view source (not the browser inspector, which shows the rendered page) and search for a sentence from the main content, a price, an address or a product name. If it is missing from the source, record it as a finding. Repeat for the templates that matter most, usually the home page, a service or product page and a post.
Check 5: canonical URLs
WordPress core prints a canonical link through rel_canonical(). The developer reference describes it as outputting “rel=canonical for singular queries”, meaning posts, pages, attachments and custom post types. Core does not print one on archives or the blog home. SEO plugins usually take over canonical output and extend it to other templates.
What to look for in the source of a sample of URLs:
- Exactly one
rel="canonical"per page (two usually means a theme and a plugin both print one). - The canonical uses the production domain, https, and the preferred www or non-www form.
- Paginated, filtered and tracking-parameter URLs point to the version you want indexed.
- No canonical points at a staging or old domain left over from a migration.
Google’s Search Console help notes that generative AI performance data is mostly assigned to a page’s canonical URL, so canonical errors also make your reporting harder to read.
Check 6: XML sitemaps
Since WordPress 5.5, core exposes a sitemap index at /wp-sitemap.xml. The core announcement explains that sitemaps cover public post types and taxonomies plus author archives, hold a filterable maximum of 2,000 entries per sitemap, and are disabled when the site discourages search engines. Plugins can switch core sitemaps off with the wp_sitemaps_enabled filter, which SEO plugins often do when they provide their own.
The practical question is which sitemap is authoritative. Open /wp-sitemap.xml and any plugin sitemap, check which one robots.txt references, and confirm the same one is submitted in Google Search Console and Bing Webmaster Tools. Then sample it: does it list noindexed URLs, redirected URLs or thin tag archives you would rather not promote? A sitemap that disagrees with your noindex and canonical choices sends mixed signals.
Check 7: structured data and who the site says it is
Google’s guide to its generative AI features says “Structured data isn’t required for generative AI search, and there’s no special schema.org markup you need to add.” Treat structured data as a way to state facts consistently, not as an AI ranking lever.
What is worth checking is whether the facts are right. Google’s Organization structured data documentation says it helps Google “disambiguate your organization”, has no required properties, and belongs on the home page or a single page such as an about page. Its Article documentation recommends author with name and url, using Person for people and Organization for organizations, with a URL or sameAs that identifies the author.
SEO plugins generate most of this from settings that are easy to leave half-filled. Check the plugin’s site representation settings: organization or person, legal name, logo, and social profile links. Confirm each author has a profile page with a real biography, because the Article markup will point to it. Google’s attribution and factuality documentation also suggests helping readers trust your content through “clear sourcing and background about the author or your site”, naming author pages and an About page as examples. Run a few URLs through a structured data testing tool and compare what the markup claims with what the page says.
Questions to ask your developer or host
Use these to close the rows you cannot check from the dashboard. Each needs a short written answer, not a yes.
- Is there a physical robots.txt in the web root, and does anything (plugin, host, CDN) rewrite or prepend to it?
- What are the current Cloudflare (or other CDN) settings for AI Search, Agent and Training traffic, and who approved them?
- Does any firewall, security plugin or host-level rule block or challenge requests by user agent or IP range? Can you show the last 30 days of blocks for the crawlers we care about?
- Does the host add any
X-Robots-Tagheader on this domain? - Which templates or blocks load visible text with JavaScript after page load?
- Which plugin controls canonicals, robots meta and sitemaps, and are core sitemaps disabled on purpose?
- Do server logs show successful (200) requests from the crawlers we intend to allow, verified against the operators’ published IP lists?
If the answers show configuration work across CDN, server and plugins, our technical GEO service covers this kind of review and remediation plan.
Record findings in one table
A review is only useful if it leads to decisions. Record each check in one row with the evidence you saw, why it matters, who owns it and what was decided. The rows below are a hypothetical example for a fictional regional accounting firm’s WordPress site, not real findings.
| Check | Evidence seen | Impact | Owner | Decision |
|---|---|---|---|---|
| Reading setting | Unchecked; no noindex in sampled source | None | Site owner | No action |
| Live robots.txt | Managed block prepended by CDN: GPTBot, ClaudeBot, Google-Extended disallowed | Training opt-outs; search crawlers unaffected | Marketing lead | Keep; record in policy |
| CDN AI policies | Search behavior set to Block | May stop AI search crawlers reaching the site | Hosting partner | Change to Allow after sign-off |
| JavaScript content | Fee table missing from page source | Key facts unreadable by bots that do not render | Developer | Render table on the server |
| Canonicals | Two canonical tags on service pages | Conflicting signals | Developer | Disable theme output |
| Sitemaps | Plugin sitemap lists 40 noindexed tag archives | Mixed signals | Marketing lead | Exclude tags from sitemap |
| Identity markup | Organization logo missing; two authors without profile pages | Weaker identification | Site owner | Complete settings; add bios |
Sort the table by impact, fix anything that blocks access first, then work down. Re-run the same rows after each change so the table doubles as a change log. When access is confirmed, the natural next step is a baseline of how the site actually appears, covered in planning your first AI visibility assessment, and a look at what Google’s generative AI performance reporting shows.
Frequently asked questions
Do I need an llms.txt file on WordPress?
Not for Google. Google’s guide to its generative AI features says you do not need new machine-readable files, AI text files or Markdown to appear in Google Search, because Google Search does not use them. Other services may treat such files differently, so check each operator’s documentation before adding one.
Will unchecking “Discourage search engines” get my site into AI answers?
It removes one barrier. Google still requires a page to be indexed and snippet-eligible, and other operators make their own selection decisions. Access is necessary, not sufficient.
Sources
- Settings Reading screen, WordPress.org Documentation. Accessed 27 November 2026.
- do_robots(), WordPress Developer Resources. Accessed 27 November 2026.
- wp_robots_no_robots(), WordPress Developer Resources. Accessed 27 November 2026.
- WP_Sitemaps::add_robots, WordPress Developer Resources. Accessed 27 November 2026.
- New XML Sitemaps Functionality in WordPress 5.5, Make WordPress Core. Accessed 27 November 2026.
- rel_canonical(), WordPress Developer Resources. Accessed 27 November 2026.
- The robots.txt file in Yoast SEO, Yoast. Accessed 27 November 2026.
- AI Crawler and Agent access policies, Cloudflare Docs. Accessed 27 November 2026.
- robots.txt setting, Cloudflare Docs. Accessed 27 November 2026.
- Optimizing your website for generative AI features on Google Search, Google Search Central. Accessed 27 November 2026.
- Understand the JavaScript SEO Basics, Google Search Central. Accessed 27 November 2026.
- Organization (Organization) structured data, Google Search Central. Accessed 27 November 2026.
- Article (Article, NewsArticle, BlogPosting) structured data, Google Search Central. Accessed 27 November 2026.
- Attribution and factuality in Search generative AI features, Google Search Central. Accessed 27 November 2026.
- Generative AI performance report (Search), Search Console Help. Accessed 27 November 2026.
- Overview of OpenAI Crawlers, OpenAI. Accessed 27 November 2026.
- Does Anthropic crawl data from the web, and how can site owners block the crawler?, Claude Help Center. Accessed 27 November 2026.
- Perplexity Crawlers, Perplexity. Accessed 27 November 2026.