🔥 New offer: a landing page, portfolio or one-page website from 2,000 EGP — See the offer

// WordPress and AI Agents

WordPress AI Agent Ready: A Real-World Guide (2026)

Khaled Osama

WordPress AI agent ready guide cover: a laptop and an AI robot preparing a website for AI agents

Making your site WordPress AI agent ready means software agents can find it, read it as clean Markdown, understand who you are and what you offer, and use it without scraping HTML. In practice that means seven things: a Markdown version of every page, an llms.txt guide, agent discovery files (Agent Skills and an agents.md), structured data that identifies your business, trust pages, clear robots.txt rules, and a host firewall that does not block the agents you want. I set all of this up on khaled.host this week, so this guide is based on what actually worked and what broke, not on theory.

One honest note first: most of these standards are young. llms.txt is a community proposal, WebMCP is an early preview and the Agent Skills discovery URI is still an RFC draft. Nobody can promise you a ranking or traffic jump from them. What you get is a cheap, low-risk bet that your site is readable by the tools people are starting to use instead of a search box. That is the honest case for making your site WordPress AI agent ready anyway.

What does WordPress AI agent ready actually mean?

A normal web page is a set of instructions for drawing something on a screen. An agent has to dig the meaning out of all that markup. Being WordPress AI agent ready means you hand it the meaning directly. Elementor, which now ships an Agent Ready menu in its 4.4 line, frames it the same way: agents interact with sites more and more, so sites need to say what they are and what agents may do.

WordPress has an advantage here. It already has a REST API, sitemaps, feeds and structured content, so it was readable by machines long before agents arrived. You are mostly adding a thin, well-labelled layer on top, and that layer is what makes a WordPress AI agent ready site.

The seven layers of a WordPress AI agent ready site

LayerWhat it doesMy status on khaled.host
Markdown pages (.md twins, Accept: text/markdown)Gives agents clean text instead of HTMLWorks. One gap: Vary: Accept on the homepage, held back by LiteSpeed page cache
llms.txtA curated guide to your most important pagesPresent, generated by my host as a physical file
Agent Skills discovery/.well-known/agent-skills/index.json plus a SKILL.md that says when an agent should use your siteWorks, including the "When to use this skill" section scanners look for
agents.md, ARD catalog, MCP server cardTell agents what your site offers and where its tools livePublished
Structured data (Rank Math)Organization identity, Local SEO, sameAs profiles, areaServedConfigured, with LinkedIn and GitHub in sameAs
Trust pagesAbout, Contact, Terms and Privacy in both languages, linked from the footerDone, linked with Polylang translations
WebMCPLets an in-browser agent call site tools through a browser APIAdded as a low-risk extra

Layer 1: serve Markdown, and fix your 404 too

Agents prefer Markdown because it costs fewer tokens and carries no layout noise. Offer a .md twin of each important page and honour the Accept: text/markdown header. Two details are easy to miss. First, send Vary: Accept so caches do not serve Markdown to browsers or HTML to agents. Second, return a proper 404 status for missing pages, including in Markdown. On my site the 404 works when the Accept header is sent, but the Vary header on the homepage is still blocked by page caching, which I could not change from inside WordPress.

Layer 2: llms.txt, with realistic expectations

llms.txt was proposed by Jeremy Howard of Answer.AI in September 2024: a Markdown file that gives models a curated map of your site. The proposal has since reached v2, and thousands of sites publish one. But it is a proposal, not a standard like robots.txt, and I found no public confirmation that the major AI providers rely on it. Add one because it costs almost nothing, keep it short and curated, and do not treat it as a ranking factor. A practical catch: if your host generates it as a physical file, PHP cannot rewrite it, so changes have to go through the host’s own tool.

Layer 3: Agent Skills discovery and agents.md

Agent Skills started at Anthropic as a SKILL.md format and was published as an open specification in December 2025. A Cloudflare-led RFC (currently draft v0.2.0) defines how a site advertises skills at /.well-known/agent-skills/index.json, with a $schema field and a SHA-256 digest for each skill. A skill is simply a short document that tells an agent how and when to use your site. Make sure it has a clear section on when to use it, because that is exactly what scanners and agents look for. Pair it with a plain /agents.md that states your services and contact route.

Layer 4: identity and structured data

Agents need to know who you are before they trust you. In Rank Math I set the Company identity, Local SEO details, phone numbers and a short organization description, and I filtered the JSON-LD so the service area is explicit (Saudi Arabia, UAE, Kuwait, Egypt) instead of a street address I do not publish. I also added a Person node for me as the founder and listed my LinkedIn and GitHub profiles under sameAs, so every entity points to profiles I actually control. Do not invent profiles or details to look bigger; agents and humans both cross-check.

Layer 5: trust pages that agents can find

About, Contact, Terms and Privacy pages are not decoration. They are what an agent, and a cautious customer, checks before acting on your behalf. I added a Privacy Policy in Arabic and English, linked the two as Polylang translations, and added them to the footer on every page. One scanner check for Privacy still does not register even though the page returns 200 and is linked for users. When that happens, trust your own verification of the page over the scanner.

Layer 6: WebMCP, as an experiment

WebMCP lets a page register tools that an in-browser agent can call, instead of the agent clicking through your interface. Google’s Chrome team shipped an early preview in Chrome 146 behind a flag in February 2026, and the spec is a W3C community-group draft co-authored by Google and Microsoft engineers. It is still moving: sources report the API surface has already shifted from navigator.modelContext to document.modelContext. Register one or two read-only tools, wrap the code in a feature check, and keep nothing important dependent on it.

Layer 7: the firewall problem nobody warns you about

This was the most expensive lesson. After repeated scans, my score suddenly fell from my best real result of 90.25 out of 100 to 15. The site had not changed. The host’s WAF and CDN layer, which sits in front of WordPress, had started returning 403 to the scanner, and some English URLs returned 500 to it while real browsers saw 200 on all of them. I confirmed that with plain browser fetches. The fix was not code. It was to stop scanning, wait, and run one scan later.

  • Scanners are bots. If you scan several times in a few minutes, the host can rate-limit or block them.
  • Check the host’s own tool too. Hostinger’s AI visibility scan in hPanel gave my site 100 (grade A), because it checks a different, less strict list. I cover this host in more depth in my Hostinger hosting review.
  • Distinguish a site problem from a block. Test the same URLs in a normal browser and with curl from your own machine before changing any code.
  • Know what you cannot change. On my plan I could not edit the WAF or allow-list a scanner user agent, and support’s generic advice did not help. If agents matter to you, ask your host before you commit to a plan.

Checklist: make your site WordPress AI agent ready in this order

  1. Back up the site and work on a staging copy if you can.
  2. Fill in your identity: company details, About and Contact pages, real sameAs profiles.
  3. Add Terms and Privacy pages in every language and link them in the footer.
  4. Publish Markdown versions of key pages and honour Accept: text/markdown with Vary: Accept.
  5. Add llms.txt, agents.md and an Agent Skills index with a clear "When to use this skill" section.
  6. Set robots.txt rules deliberately, including Content-Signal preferences, instead of leaving defaults.
  7. Add WebMCP last, behind a feature check.
  8. Clear every cache layer, then check the live URLs in a browser.
  9. Wait, then run exactly one scan and read the failures one by one.

FAQ

What does WordPress AI agent ready mean?
It means AI agents can find, read and use your site without guessing: clean Markdown versions of pages, an llms.txt guide, discovery files such as Agent Skills, structured data, and clear rules in robots.txt about what agents may do.

Is llms.txt required?
No. It is a community proposal, not a ratified standard, and support from major AI providers is not publicly confirmed. It is cheap to add, so it is worth having, but do not expect a ranking jump from it alone.

Can a firewall or CDN make my site fail an agent-readiness scan?
Yes. Scanners are bots, and a host-level WAF or CDN can return 403 or 500 to them after a few requests, which produces a false low score even though real visitors see a healthy site.

Is WebMCP ready for production?
Not yet. It is an early-preview browser API incubated in a W3C community group, and its API surface has already changed. Add it as a low-risk extra, not as something your site depends on.

How often should I run an agent-readiness scan?
Rarely. Fix things, wait, then scan once. Repeated scans in a short time can trigger rate limits or bot protection and give you a misleading result.

Bottom line

Making a site WordPress AI agent ready is mostly honest housekeeping: say clearly who you are, serve clean text, publish a few discovery files and make sure your own firewall does not shut the door. Do the cheap parts now, treat WebMCP as an experiment, and never chase a scanner score at the cost of breaking the site for real visitors. If you want your WordPress site connected to Claude, start with my Easy MCP AI guide, and if the site is slow, fix that first with these speed fixes. And for the bigger question of whether AI is changing WordPress itself, see Is WordPress dead? The WordPress era vs AI.

Sources

Last reviewed: November 12, 2026. Written by Khaled Osama, a WordPress developer with 5+ years of experience. Scores mentioned come from my own scans of khaled.host and are not a benchmark.