Every WordPress site has a robots.txt. Almost none has an llms.txt — and that's a missed opportunity that's getting more expensive by the month. As AI assistants become the front door to the web, the sites that hand AI crawlers a clear map of their content get understood better, cited more often, and recommended first.
What llms.txt is
llms.txt is an emerging standard for a plain-text file published at https://yoursite.com/llms.txt. Where robots.txt tells crawlers what to skip, llms.txt tells AI systems what matters: a human-and-machine-readable summary of your business, your key pages, and your content hierarchy, formatted in Markdown that large language models parse natively.
The format was proposed in late 2024 and has been gaining adoption since. It's deliberately simple — no XML, no tooling, just a text file with a defined structure:
- Line 1: an H1 with the site or organization name
- Blockquote: a one-line description of what the site is
- Sections: H2 headings grouping links — what you do, key pages, contact details
- Optional section: links you'd like crawled but not highlighted
Why AI systems need it
AI crawlers face a problem traditional crawlers never had: they must understand a site, not just index it. When GPTBot or ClaudeBot fetches a 200-page WordPress site, it has to guess what the business actually does from navigation menus, footers, and whatever page it landed on. An llms.txt removes the guesswork — it's the site owner saying, directly: "Here's who we are, here's what's important."
Sites with an llms.txt tend to get more accurate AI summaries — fewer hallucinated services, fewer misattributed details. For a business whose revenue depends on being recommended correctly, that accuracy is the point.
llms.txt vs robots.txt vs sitemap.xml
The three files do different jobs, and a well-configured site has all three:
- robots.txt — permissions. Which crawlers may access which paths. (Check yours allows GPTBot, ClaudeBot, and PerplexityBot.)
- sitemap.xml — inventory. Every URL, machine-formatted, no context about what matters.
- llms.txt — orientation. A curated, narrated map of your most important content, written for language models.
A real example
Here's the essence of our own llms.txt on wpweb.org (we practice what we sell):
# WPWeb — WordPress Management & GEO Optimization
> WPWeb provides professional WordPress hosting management and Generative Engine Optimization (GEO) services.
## What We Do
WPWeb manages WordPress websites end-to-end: hosting, security, performance optimization, and AI/GEO visibility…
## Key Pages
- Homepage: https://wpweb.org/
- Services: https://wpweb.org/services.html
Twenty minutes to write. Permanent benefit every time an AI crawler visits.
How to add llms.txt to WordPress (20 minutes)
- Draft the content. Follow the structure above: name, one-line description, sections with links to your most important pages. Plain language beats keyword stuffing — the reader is a language model, and it can tell the difference.
- Create the file. In WordPress, either upload
llms.txtto your site's root directory (via your host's file manager or FTP), or add a rewrite rule that serves it. On managed hosting where you can't touch the root, a snippet plugin that outputs the text at/llms.txtworks. - Verify. Visit
https://yoursite.com/llms.txtin a browser — you should see plain text with atext/plainortext/markdowncontent type. - Keep it fresh. Update it when you add major pages or services. A stale llms.txt pointing at dead URLs is worse than none.
Common mistakes
- Dumping the entire sitemap in. llms.txt is a curation exercise — 10 to 30 key links, not 3,000.
- Blocking AI crawlers while publishing llms.txt. If robots.txt disallows GPTBot, the file never gets read. Check access first.
- Marketing filler instead of facts. "Industry-leading solutions" teaches the AI nothing. Specific services, specific numbers, specific pages.
Want to see how your site's AI-readiness stacks up — llms.txt included? Run the free AI Visibility Audit; it checks for the file, its quality, and five other AI discovery signals. Or if you'd rather hand the whole thing off, our GEO Pro plan includes llms.txt creation and maintenance as a core deliverable.