llms.txt in WordPress
How to get llms.txt on a WordPress site - what Yoast SEO, All in One SEO, Rank Math and a dedicated plugin can do, how they differ, what to check after switching it on, and what to do about structured data
What the plugins can do
Section titled “What the plugins can do”| Plugin | llms.txt | llms-full.txt | How it is enabled | Structured data |
|---|---|---|---|---|
| Yoast SEO | yes | not stated | a switch in settings | yes |
| All in One SEO | yes | yes | a switch in settings | yes |
| Rank Math | yes | no | a module enabled by hand | yes |
| Website LLMs.txt | yes | no; optional Markdown versions of pages | a separate plugin | no, not its job |
The facts come from the plugins’ own pages. Capabilities change between releases: check the description of the current version before installing.
Do not run two plugins that both create llms.txt. There is one address, and one component should serve it.
Why there are so many files on the web
Section titled “Why there are so many files on the web”Most files on the web exist not because an owner decided so, but because a plugin or a platform switched the feature on. That explains why many of them were never checked.
How to enable it
Section titled “How to enable it”- Update the SEO plugin to the current version.
- Find the
llms.txtsection in its settings and enable the feature. - If the plugin allows it, choose which post types go into the file: pages, posts, products.
- Exclude service pages: cart, account, thank-you pages, search results.
- Open
https://your-site/llms.txtin a browser.
If the site uses a caching plugin or a CDN, purge the cache after enabling. Otherwise the old “not found” page may keep answering at the file address for a while.
What to check afterwards
Section titled “What to check afterwards”/llms.txtanswers200and serves text, not the theme’s HTML page.- The file has the site name and a short summary, not only a list of posts.
- The list has no service pages, drafts or private sections.
- Links point to working addresses on the same protocol and domain as the site.
- The file refreshes after a new post is published.
robots.txtdoes not block the file.- The site has no second source of
llms.txt: another plugin or a manually uploaded file.
Detailed checks and commands: Validating files and markup.
An automatic file and its limits
Section titled “An automatic file and its limits”A plugin knows the structure of a site but not what matters on it. A typical automatic file is the complete list of posts in publication order.
A good map is built differently: a few sections by meaning, each with the most important material and a note. If the plugin lets you edit the summary and the sections, use that.
What a considered file looks like: best practices, examples.
Structured data in WordPress
Section titled “Structured data in WordPress”SEO plugins print Schema.org markup with no extra setup: WebSite, Organization, Article, breadcrumbs. Store plugins add Product with price and availability.
Three things are worth checking:
- Whether the organization card is filled. The plugin takes the name, logo and contacts from settings; it does not guess them.
- Whether the theme duplicates the plugin’s markup. Two markups of one product make two conflicting descriptions.
- Whether the price in the markup matches the price on the page, especially with discount modules.
Which markup is needed and how to check it: Structured data and JSON-LD.
What to expect
Section titled “What to expect”What is known and what is not
Confirmed
- Major SEO plugins create
llms.txtautomatically. - Yoast itself writes that the file is not meant for search engines.
- Google and Yandex read the Schema.org markup these plugins print.
Not proven
- That enabling the feature will affect rankings or citations.
What it does not mean
- A plugin does not decide what matters on the site: that stays with the owner.
A plugin removes manual work. It does not make the file more useful.
A sober view of the format: Does llms.txt work.