llms.txt for WordPress
Core doesn't do this (yet)
WordPress core does not generate llms.txt. A core proposal exists (Trac ticket #64959, modeled on how core serves a virtual robots.txt), but as of mid-2026 it is a proposal, not a shipped feature. In practice, llms.txt on WordPress comes from your SEO plugin — and you may already have the capability installed:
- Yoast SEO — generates llms.txt natively, in the free tier.
- Rank Math — an "LLMS Txt" module you toggle on, configurable per post type.
- All in One SEO — generates it and has the feature enabled by default.
- Website LLMs.txt — a dedicated standalone plugin (40,000+ active installs) that integrates with all the above if you'd rather manage the file independently.
If you run any of the big three, check yoursite.com/llms.txt before installing anything — AIOSEO in particular may already be serving one.
Plugin output vs. a curated file
Auto-generated llms.txt files tend to be sitemaps in markdown clothing: every post, no hierarchy of importance. That passes an existence check but wastes the format's point — curation. An agent reading 400 undifferentiated links learns less than one reading twelve chosen ones.
The better pattern: let the plugin handle generation, then use its configuration (post-type filters, exclusions) to cut the list down to what an agent actually needs — cornerstone content, product/service pages, docs, policies. Or hand-write the file and serve it statically: drop llms.txt in your site root via SFTP or your host's file manager. A static file beats a worse dynamic one.
What to include
One-line descriptions matter more than link count. Lead with what the site is, then key pages grouped by section, then cross-references to machine surfaces — your REST API if it's public, and any MCP endpoint. Full format guidance: the llms.txt guide.
Validate it
Whichever route you take, run it through the llms.txt validator — existence, parseability, navigable structure — or scan the whole site to see every agent-facing signal at once.
FAQ
Does WordPress generate llms.txt automatically?
Core doesn't. Yoast, Rank Math, and AIOSEO all generate it natively (AIOSEO by default), and standalone plugins exist. Check yoursite.com/llms.txt first — you may already have one.
Is a plugin-generated llms.txt good enough?
It passes existence checks, but generated lists are usually uncurated. Use the plugin's filters to trim to cornerstone content, or hand-write the file — curation is the format's entire value.
Will llms.txt improve my WordPress SEO?
No — Google's documented position is that Search doesn't use it. It's for agents, not rankings. See Does llms.txt actually work?