llms.txt for WordPress: what it is and how to add one

llms.txt is a simple text file at the root of your site — yoursite.com/llms.txt — that tells AI assistants what your site is, what matters on it, and where to find your best content. Think of it as a robots.txt for the era of ChatGPT, Perplexity and Gemini: a short, machine-readable summary that makes your site easier to understand and cite. Here is what it is, why it matters for WordPress, and exactly how to add one.

What llms.txt actually is

robots.txt tells crawlers where they may go. llms.txt tells AI systems what your site means. It is a Markdown file with a clear structure: an H1 with your site or product name, a short summary in a blockquote, and linked sections pointing to your most important pages.

It is a proposed convention, not a law — no assistant is required to read it. But it is cheap to publish, it hurts nothing, and it does two useful things: it gives models a clean, authoritative description of your entity, and it points them at the pages you most want cited.

Why it matters for WordPress sites

Most WordPress sites already publish plenty of content — the problem is that AI systems have to reconstruct "what is this site, and what is it the authority on?" from scattered pages. llms.txt states it directly.

If your content isn't easy to identify and extract, it may not be cited. A tidy llms.txt plus clean schema is the machine-friendly version of a great About page.

It pairs with the other things assistants reward: fast, server-rendered HTML (so your content is actually in the page), descriptive headings, and consistent Organization markup. llms.txt is the summary; schema and clean HTML are the proof.

What goes in a good llms.txt

Keep it short and factual. A solid structure:

# Your Brand

> One or two sentences: what you are, who you serve, what makes you different.

## Key pages
- [Homepage](https://yoursite.com/): what you do.
- [Product / Features](https://yoursite.com/features): the details.
- [Pricing](https://yoursite.com/pricing): plans and costs.

## Guides
- [Your best article](https://yoursite.com/blog/...): what it covers.

## Contact
- Email: hello@yoursite.com

Three rules that matter:

  1. Lead with a plain-language definition. The blockquote should answer "what is this?" in one breath.
  2. Link only your best, canonical pages. This is a curated map, not a sitemap dump.
  3. State specific facts. Category, audience, pricing, differentiators — the things an assistant would quote.

How to add llms.txt to WordPress

You have three options, from simplest to most automated:

Common questions

Does llms.txt guarantee AI citations? No. Nothing does. It improves how clearly assistants can identify and describe your site; citations still depend on relevance and trust.

Is it the same as robots.txt? No. robots.txt controls crawler access; llms.txt describes meaning and points to key content. Keep both.

Where does it go? The site root — yoursite.com/llms.txt — not a subfolder.

The takeaway

llms.txt is one of the lowest-effort things you can do to prepare for AI search: a short, honest description of your site in a place assistants can read. Publish one, keep your schema clean, and make sure your content is in the HTML — that combination is what makes you the citable answer. If you'd rather manage it inside WordPress, SEO Pigeon handles llms.txt, schema and sitemaps in one lightweight plugin. Or read how AI assistants pick sources in our guide to showing up in AI search.