llms.txt for WordPress is a plain Markdown file that sits at the root of your site (yourdomain.com/llms.txt) and lists your most useful pages for AI tools. You can create and upload one in about 15 minutes. The catch: no major AI platform has confirmed that it reads the file, so treat it as a cheap experiment, not a ranking tactic. This guide explains what the file is, what it can and cannot do, and how to add it to WordPress step by step.
Quick answer: To add llms.txt to WordPress, write a short Markdown file with your site name, a one-line summary and links to your 10 to 20 best pages. Upload it to your site’s root folder (or use a plugin that serves it), then open yourdomain.com/llms.txt to check it loads. Keep it consistent with your robots.txt and update it when your key pages change.
Key takeaways
- llms.txt is a proposed standard, not an official one.
- It does not control access. That is still the job of robots.txt.
- Keep the file short and list only pages you are happy for AI tools to use.
- Do not expect more Google rankings or AI citations from the file alone.

What is llms.txt?
llms.txt is a Markdown text file that gives large language models (LLMs) a short, curated map of your website. It was proposed in September 2024 by Jeremy Howard, co-founder of fast.ai and Answer.AI. The idea is simple: instead of letting an AI tool dig through menus, footers and scripts, you hand it a clean list of the pages that matter most, each with a short description.
The file is written in Markdown. It usually has a title, a one-line summary, and sections (H2 headings) that group links by type, such as guides, products or policies.
Does llms.txt help SEO or AI search?
Not in any proven way. As of late 2026, no major AI platform has officially confirmed that it uses llms.txt, and commentators report that Google does not support it. Ahrefs notes that OpenAI’s GPTBot honours robots.txt but does not officially use llms.txt, and that Anthropic publishes its own llms.txt without saying its crawlers rely on the standard. You can read the details in Ahrefs’ review of llms.txt.
So why bother? Three honest reasons:
- It takes minutes and costs nothing.
- It forces you to decide which pages are your best work.
- Developer tools and AI agents that do read it may find your content more easily.
If you want results that are proven today, the basics matter more. Start with our guide to how to get cited in AI Overviews.
llms.txt vs robots.txt vs sitemap.xml
| File | Main job | Who it is for |
|---|---|---|
| robots.txt | Says which areas crawlers may or may not access | Search and AI crawlers |
| sitemap.xml | Lists every URL you want discovered | Search engines |
| llms.txt | Suggests your best pages, with short descriptions | AI tools and agents (voluntary) |
llms.txt does not replace robots.txt. It only suggests; it cannot block anything. If you want to control which bots can visit, use robots.txt. We cover that in our WordPress robots.txt guide.
How to add llms.txt to WordPress: 6 steps
Step 1: Pick the pages to include
Choose 10 to 20 pages: your best guides, key service or product pages, and your About and Contact pages. Skip thin pages, tag archives and anything you would not want quoted. A shorter file is easier to read and easier to keep accurate.
Step 2: Write the file in Markdown
Open a plain text editor (not a word processor). Use this structure:
# Example Site
> One sentence about who you are and what the site covers.
## Guides
- [How to do X](https://example.com/how-to-do-x/): One line on what the page explains.
- [X vs Y](https://example.com/x-vs-y/): One line on what the comparison covers.
## About
- [About us](https://example.com/about/): Who runs the site and why.
- [Contact](https://example.com/contact/): How to reach us.
Step 3: Check every link
Open each URL. Make sure it loads, is indexable, and is not blocked in robots.txt. A file that points to blocked or broken pages sends mixed signals.
Step 4: Save it as llms.txt
Name the file exactly llms.txt, in lowercase, with no extra extension.
Step 5: Upload it to your site’s root
Use your host’s File Manager or SFTP and place the file in the same folder as wp-config.php (usually public_html). Some SEO plugins can also generate and serve an llms.txt for you, so check your plugin’s settings first. On managed hosting where you cannot reach the root folder, ask your host or use a plugin that serves the file.
Step 6: Test and maintain it
Visit yourdomain.com/llms.txt in a browser. You should see plain text, not a 404 page or a styled WordPress page. Add a calendar reminder to review the file every quarter, or whenever you publish a major new guide.
Common llms.txt mistakes to avoid
- Treating it like a second sitemap. Dumping hundreds of URLs defeats the purpose.
- Listing pages you block in robots.txt. Keep the two files consistent.
- Promising results. No platform has promised to use the file.
- Revealing too much. A very detailed file shows competitors your structure and priorities.
- Letting it go stale. Old links and outdated descriptions hurt trust.
Should your site have an llms.txt file?
Add one if you publish documentation, guides or product information that AI agents might read, and you like low-effort experiments. Skip it if you are short on time. Better investments are clear answers near the top of each page, good internal links and a clean crawl setup. Our guide to GEO and AEO explains where to focus first, and Search Engine Land’s llms.txt guide gives a second view.
Frequently asked questions about llms.txt for WordPress
What is llms.txt in simple words?
It is a short text file that lists your best pages with one-line descriptions, written for AI tools instead of people.
Does Google use llms.txt?
Commentators report that Google does not support it. Google’s own guidance says no special file is needed to appear in its AI features.
Where do I put llms.txt in WordPress?
In the root folder of your site, so it loads at yourdomain.com/llms.txt.
Does llms.txt replace robots.txt?
No. robots.txt controls crawler access. llms.txt only suggests which pages matter.
How many pages should I list?
Aim for 10 to 20 of your best pages. A short, accurate file works better than a long one.
Conclusion
llms.txt for WordPress is quick to add and harmless, but it is unproven. Create a short, accurate file, test that it loads, keep it in line with your robots.txt, and then put your main effort into content that answers questions clearly. Your next step: write your list of 10 best pages today and upload the file this week.

