Sections, rules and pinned links
After the site context, llms.txt lists links: first your pinned links under a Core heading, then one heading per section. Both are set on the Content tab.
The point of llms.txt is a curated map that fits in an AI's context window, not an archive. Twenty well-described links beat eight hundred bare ones, so keep the numbers low.
Pinned links
Pinned links are always included and always first. Use them for the handful of pages that define the business: services, prices, contact, about.
- A page or post: search for it by title and pick it. The address is worked out again on every rebuild, so renaming the page or changing its slug updates llms.txt by itself, and a page that is deleted or unpublished drops out instead of leaving a dead link.
- Another address: for a page on another site. It is used exactly as typed.
Label and Description are optional. Left blank, the page title and its usual description are used.
Suggest from my menu adds the pages in your main navigation menu that are not pinned yet. Check them, then save.
A page pinned under Core is not repeated further down the file.
Sections
Each section becomes a heading in llms.txt, in the order shown, listing the posts its rules pick:
| Rule | What it does |
|---|---|
| Heading | The section's title in llms.txt, such as "Guides" |
| Post type | Which kind of content: posts, pages, products, or any public custom post type |
| Only with, Terms | Optionally limit it to a category or tag, by slug. Several slugs, separated by commas, match any of them. |
| Order by, Direction | Newest first, by title, by menu order, and so on |
| At most | The most links this section adds |
| Optional | Lists the section under a closing Optional heading, which the llms.txt format defines as the part a reader may skip when short on space |
Use the arrows to reorder sections and pinned links, and the bin to remove one. Nothing changes until you save.
Featured and excluded posts
The LLMs.txt box in the post editor's sidebar has three settings for one post:
- Feature in llms.txt: listed first in any section it belongs to, even outside the section's normal order.
- Exclude entirely: never in llms.txt, no
.mdcopy, and not in the search index. - Description override: the line after its link, instead of the usual one.
What is always left out
Drafts, scheduled and private posts, password-protected posts and post types that are not public never appear, whatever the rules say. Posts marked noindex in Yoast SEO, Rank Math or SEOPress are left out too while Skip posts that ask search engines not to index them is on (the default). That includes a noindex setting for a whole post type, not only for single posts.
Descriptions and size
On the Output tab:
- Taken from: where the line after each link comes from. The excerpt, the SEO description, or the content's opening words; each falls back on the others, and a description written in the editor always wins.
- Length: how long that line may be.
- Maximum size: links stop being added when llms.txt reaches this. 100,000 bytes is a sensible ceiling.
- Minimum length: leaves out posts shorter than this many words, to keep thin pages out.