To add llms.txt to WordPress, create a plain-text Markdown file named llms.txt, place it at your site’s root so it loads at yourdomain.com/llms.txt, and list your most important pages with one-line summaries. You can do this with a free SEO plugin in under two minutes, or by hand if you want full control over the wording.
That’s the short version. The rest of this guide covers exactly which plugin to use, what to write inside the file, whether AI crawlers like ChatGPT and Claude actually read it in 2026, and how to confirm it’s working once it’s live.
What Is llms.txt and Why Does It Matter for WordPress Sites?
llms.txt is a Markdown file, served from your domain’s root, that gives AI systems a curated map of your most important content instead of forcing them to crawl your entire site. It was proposed on September 3, 2024, by Jeremy Howard of Answer.AI as a lightweight companion to robots.txt and XML sitemaps, aimed specifically at large language models rather than traditional search bots (Search Engine Land, 2024).
For a WordPress site, that means writing a short, plain-English index: your site name, a one-paragraph description, and a bulleted list of links to your cornerstone posts, each with a one-line summary. There’s no plugin required by the format itself — it’s just a text file — but plugins make it far easier to keep that list current as you publish new content week after week.
The idea borrows directly from robots.txt and sitemap.xml, both of which also sit at the domain root and both of which automated visitors are expected to check before anything else. llms.txt follows that same convention but writes for a different reader: not a strict crawler following disallow rules, but a language model trying to decide what your site is actually about.
What Do You Need Before You Start?
You need administrator access to your WordPress dashboard, and either an SEO plugin already installed or FTP/File Manager access to your host if you’d rather skip plugins entirely. No coding skills are required for the plugin route. The manual route needs only basic comfort editing a plain-text file and uploading it to a folder.
You should also have a short list, even a mental one, of your 10 to 20 best pages: cornerstone guides, your most-linked tutorials, your pricing or about page if relevant. Building that list is most of the actual work; the technical part of how to add llms.txt to WordPress takes minutes by comparison.
How Do You Add llms.txt to WordPress With a Plugin?
The fastest way to add llms.txt to WordPress is through an SEO plugin that already generates one for you. SEOPress shipped native llms.txt generation in version 9.5, letting you toggle the file on and edit its contents from Search > llms.txt in your dashboard (SEOPress, 2026). AIOSEO has rolled out its own llms.txt and llms-full.txt controls under its Sitemaps settings, and several small, single-purpose plugins — built to do nothing but generate this one file — are available if you don’t want to touch your main SEO suite’s settings at all.
- Install and activate an SEO plugin that supports llms.txt generation, or a dedicated llms.txt plugin.
- Open its llms.txt settings screen, usually under Sitemaps or a dedicated menu item, and enable the feature.
- Select which post types and categories should be included — usually your published posts and top-level pages, excluding drafts, tag archives, and admin pages.
- Edit the auto-generated summaries if the plugin lets you, so each link description reads naturally rather than as a truncated excerpt.
- Save, then visit yourdomain.com/llms.txt in a new browser tab to confirm it loads as plain text, not a 404 or your theme’s HTML.
Plugin-generated files update automatically as you publish, which matters more than the initial setup. A hand-written file goes stale the moment you launch a new cornerstone post and forget to add it, while a plugin simply regenerates the list on its own schedule.

What Should a Finished llms.txt File Actually Look Like?
Keep it short and scannable. The accepted format opens with an H1 of your site name, a one-sentence blockquote description, then an H2 section (commonly titled “Docs” or “Key Pages”) listing your most important URLs as Markdown links, each followed by a one-line summary in plain language. A minimal example for a WordPress blog looks like this:
# Tutorials by Nitin
> A WordPress, design, and AI tutorial site covering plugins, Photoshop, Figma, and practical AI workflows for creators.
## Key Pages
- [WordPress SEO plugins guide](https://tutorialsbynitin.com/2026s-best-seo-plugins-for-wordpress-a-comparison-guide/): Comparison of the leading WordPress SEO plugins for 2026.
- [Generative engine optimization](https://tutorialsbynitin.com/generative-engine-optimization-wordpress/): How to get a WordPress site cited by AI answer engines.Resist the urge to list everything. The whole point is curation: 10 to 20 links to your genuinely useful, evergreen pages beats a dump of your entire sitemap. Write summaries the way you’d explain the page to a colleague, not the way you’d write ad copy — there’s no human audience to persuade here, only a model deciding whether the page is worth fetching next.
How Do You Add llms.txt to WordPress Manually, Without a Plugin?
If you’d rather not add another plugin, you can add llms.txt to WordPress manually in two ways. The first is a straight file upload: open your host’s File Manager or connect over FTP, navigate to your site’s root folder (the same one that holds wp-config.php), and upload a plain-text file named exactly llms.txt containing the content from the example above, edited for your own pages.
The second is a small snippet in your theme’s functions.php that intercepts requests for /llms.txt and serves the content dynamically, which is useful if you want the file to reflect your latest posts automatically. A simplified version looks like this:
add_action('init', function () {
if ($_SERVER['REQUEST_URI'] === '/llms.txt') {
header('Content-Type: text/plain; charset=utf-8');
echo "# Your Site Name
> One-sentence description.
## Key Pages
";
exit;
}
});Either method works; the static upload is simpler and fine for most blogs, and the dynamic route is only worth the extra code if you publish daily and don’t want to touch the file by hand every time.
Should You Also Create an llms-full.txt File?
llms.txt and llms-full.txt solve different problems. llms.txt is a directory: a short list of links with one-line descriptions that points a model toward the right pages. llms-full.txt is an optional companion that includes the full Markdown content of those pages in a single file, so a model can ingest your whole knowledge base in one request instead of following each link separately (AIOSEO, 2026).
For a typical WordPress blog, start with llms.txt alone. Only add llms-full.txt once your site is large enough, or your content valuable enough, that giving AI systems the complete text upfront is worth the extra file size and maintenance. Most small and mid-sized sites get the full practical benefit from the shorter file, and can revisit the fuller version later if adoption of the standard grows.
Dedicated plugins that generate both files at once exist specifically so you don’t have to hand-maintain two separate lists in sync with each other. If your SEO plugin only offers one of the two, a small single-purpose plugin can fill the gap without conflicting with your main SEO settings, since the two files don’t overlap in what they control.
Do AI Crawlers Like ChatGPT, Claude, and Perplexity Actually Use llms.txt?
Honestly, not in any confirmed, systematic way yet. llms.txt remains a proposed standard rather than a ratified one: neither the IETF nor the W3C has adopted it, and none of OpenAI, Anthropic, Google, or Perplexity has publicly confirmed that its crawlers read the file as part of normal indexing (Search Engine Land, 2024). Several companies, including Anthropic itself, publish llms.txt files on their own documentation sites, but mainly as a curated entry point for coding assistants and developer tools, not proof that public crawlers consume it site-wide.
None of that makes it pointless for a WordPress site owner in 2026. The file costs nothing to add, it can’t hurt your existing SEO, and if adoption grows the way XML sitemaps did in the early 2000s, you’ll already have one in place. Treat it as a low-cost bet on where AI crawling might go, not a guaranteed traffic lever for this quarter.
How Does llms.txt Compare to robots.txt and an XML Sitemap?
These three files look similar — all three sit at your root and all three exist to guide automated visitors — but they serve different readers and different purposes, as the table below shows.
| File | Intended Reader | Format | What It Controls |
|---|---|---|---|
| llms.txt | AI/LLM crawlers | Markdown, curated links | Suggests which pages matter most (not enforced) |
| llms-full.txt | AI/LLM crawlers | Markdown, full content | Provides complete page text in one file |
| robots.txt | Search engine bots | Plain text directives | Allows or blocks crawling of specific paths |
| XML Sitemap | Search engines | XML, exhaustive list | Lists every indexable URL with metadata |
The practical takeaway: robots.txt still governs what gets crawled at all, your XML sitemap still tells Google every URL that exists, and llms.txt (with llms-full.txt as an optional add-on) is a newer, optional, curated layer on top — it doesn’t replace either of the other two, and you should keep maintaining both as normal.
Which WordPress Sites Benefit Most From Adding llms.txt?
Content-heavy sites with genuinely useful tutorials, documentation, or reference material get the clearest benefit, because they have exactly the kind of curated, evergreen pages llms.txt was designed to surface. A blog like a WordPress tutorials site, a SaaS knowledge base, or a developer documentation hub all fit this pattern well.
Small brochure sites with five static pages get less practical value, simply because there’s little to curate beyond what a sitemap already covers. E-commerce stores sit in between: a curated llms.txt pointing to buying guides, size charts, and policy pages can help, but it won’t substitute for solid product data feeds and structured data on individual product pages.
How Long Should Your llms.txt File Be?
Short enough to read in under a minute. Most well-built examples run somewhere between 20 and 60 lines: a title, a description, and one or two sections of 5 to 15 links each with one-line summaries. There’s no hard limit in the format itself, but the value drops fast once the file grows long enough that a model gains little by skimming it over just crawling the site directly.
If you find yourself wanting to list 50-plus pages, that’s usually a sign you should trim the list down to true cornerstone content, or move the extended list into a separate llms-full.txt file instead of bloating the curated one.
How Do You Verify Your llms.txt File Is Working Correctly?
Load yourdomain.com/llms.txt directly in a browser. It should return plain text (not a 404 page, and not your theme’s HTML wrapped around it) with a Content-Type of text/plain or text/markdown. If you used a plugin, check its settings screen for a live preview before you rely on the public URL loading correctly.
Next, open your robots.txt file and make sure nothing there blocks the AI crawlers you actually want reading your content — an llms.txt file is wasted effort if robots.txt disallows the bot fetching it in the first place. Finally, re-check the file after any theme or caching change, since some full-page caching setups serve a cached 404 for new static files until the cache is cleared manually.
A few other checks worth running once: confirm the file isn’t password-protected by any staging or maintenance-mode plugin, confirm your security plugin’s firewall isn’t rate-limiting requests to root-level text files, and confirm the links inside the file actually resolve to live pages rather than ones you’ve since deleted or merged into another post.
What Mistakes Should You Avoid When Adding llms.txt?
Most of the mistakes site owners make with llms.txt come from treating it like a marketing asset instead of a reference document. The format rewards restraint and accuracy far more than it rewards clever copy, so the checklist below covers the errors that show up most often on real WordPress sites.
- Listing every page on your site. A curated 10-to-20-link file beats a full sitemap dump; curation is the entire value of the format.
- Forgetting to update it. A stale file pointing to outdated or removed pages looks worse than having no file at all.
- Blocking the crawler in robots.txt. Double-check your disallow rules don’t accidentally prevent the bots you want from reaching the file.
- Writing marketing copy instead of summaries. Plain, factual one-liners work better than persuasive taglines for this specific file.
- Assuming it replaces SEO fundamentals. Structured data, page speed, and content quality still do the heavy lifting.
Is It Worth Adding llms.txt to Your WordPress Site in 2026?
Yes, with realistic expectations. Adding llms.txt to WordPress takes minutes with a plugin, costs nothing, and can’t damage your existing SEO. Just don’t expect it to move rankings or AI citations on its own — pair it with the fundamentals that do move those numbers, like clean structured data, fast page loads, and genuinely well-sourced content that AI systems and human readers both trust.
If you’re already working on how your site shows up in AI-generated answers, this pairs naturally with a wider generative engine optimization strategy, with checking your AI Visibility report in Search Console, and with the plugin choice covered in our best SEO plugins for WordPress comparison. A fast, well-cached site also helps every crawler, human or AI — see our guide to the best WordPress caching plugins if page speed needs work too.
Frequently Asked Questions
Does WordPress add llms.txt by default?
No. WordPress core does not generate an llms.txt file on its own. You need either an SEO plugin with llms.txt support, a dedicated llms.txt plugin, or a manual file upload to your site’s root.
Will adding llms.txt improve my Google rankings?
No evidence supports that. llms.txt targets AI crawlers, not Google’s traditional ranking algorithm, and no major search engine has said it factors into rankings. Keep optimizing for search the way you already do, and treat this as a separate, additive step.
Can llms.txt hurt my site if I set it up wrong?
It’s very hard to do damage. Worst case, a malformed file simply gets ignored by any crawler that checks for it. It carries no crawl directives of its own, so it can’t accidentally block search engines the way a bad robots.txt rule can.
How often should I update my llms.txt file?
Whenever you publish a new cornerstone page worth featuring, or a few times a year at minimum. Plugin-generated files handle this automatically; hand-written files need a manual edit each time you add or retire a page.
Does every WordPress SEO plugin support llms.txt?
Not yet. Support is rolling out unevenly across plugins as of 2026, with some suites shipping native toggles and others leaving it to dedicated single-purpose plugins. Check your plugin’s changelog or settings screen before assuming the feature is already built in, and don’t assume a plugin update quietly added it without confirming in the settings.
Is llms.txt the same thing as an XML sitemap for AI?
No. An XML sitemap lists every indexable URL exhaustively for search engines; llms.txt is a short, hand-curated Markdown summary of your best pages, written for AI systems rather than search bots, with llms-full.txt as an optional fuller version.
Subscribe for Newsletter

