Structured llms.txt
Structured llms.txt for AI assistants: posts and products grouped by category, works with Yoast, Rank Math & more, Multisite ready.
Install in
Give AI assistants a clean, structured map of your site, not just a flat list of links.
llms.txt is a proposed standard: a Markdown file at /llms.txt that gives AI assistants and large language models a compact overview of a website’s content. Think of it as a sitemap written for LLMs instead of search engines.
A plain list of every URL is easy to generate, but hard to make sense of. Structured llms.txt organizes your content the way a human editor would: pages first, then posts grouped by category, then (with WooCommerce) products grouped by product category, each with a meaningful one-line description. You decide which categories appear and in which order.
See it live: sevmatic.com/en/llms.txt
Example output
# My Bakery
> Fresh bread and pastries, baked daily in Karlsruhe.
Pages
- [Home](https://example.com/): Artisan bakery with sourdough bread, cakes and catering.
- [About us](https://example.com/about/): Three generations of baking tradition.<h3>Posts</h3>
### Recipes
- [Classic sourdough](https://example.com/sourdough/): Step-by-step guide for your first sourdough loaf.<h3>Products</h3>
### Cakes
- [Cheesecake](https://example.com/product/cheesecake/): Creamy baked cheesecake, available whole or by the slice.
Why Structured llms.txt?
Several SEO plugins now include a basic llms.txt feature. This plugin focuses on what they usually don’t:
- Structure, not just a list: posts and products are grouped by category, in an order you set by drag & drop; pages can be manually ordered the same way. Each post appears exactly once, under its primary category.
- Works with your SEO plugin, whichever it is: descriptions and “noindex” settings are read from Yoast SEO, Rank Math, SEOPress or All in One SEO. No SEO plugin? Excerpts are used instead.
- Built for multilingual Multisite: each site gets its own llms.txt, and language versions can link to each other automatically.
- WooCommerce ready: products are listed automatically as soon as WooCommerce is active.
- Lightweight: no file is written to disk, no server write access needed, and the output is cached.
Features
- Serves
/llms.txtas a virtual, cached endpoint. Nothing is written to disk. - Automatically lists every published page, oldest-modified first by default, with the static front page always first.
- Optional drag & drop page ordering on the settings screen, saved directly to each page’s native “menu_order” field; takes precedence over the default order as soon as you save one.
- Groups every published post by its primary category (compatible with Yoast SEO’s “Primary category” setting), newest first within each category.
- Drag & drop ordering of post categories and product categories on the settings screen; uncheck a category to hide it.
- WooCommerce: every published product is listed, grouped by primary product category.
- Link descriptions come from Yoast SEO, Rank Math, SEOPress or All in One SEO meta descriptions (checked in that order), falling back to the excerpt.
- Per-item “Exclude from llms.txt” checkbox for pages, posts and products (for example legal pages).
- Content marked “noindex” in any of the four supported SEO plugins is excluded automatically.
- WordPress Multisite: activate network-wide or per site. Each site generates and caches its own llms.txt.
- Multisite language linking: point this llms.txt to its counterparts on other sites in the network, with labels derived from each site’s language.
- Optional custom tagline, shown as a blockquote below the site name.
- Live preview of the generated llms.txt on the settings screen.
- The cache clears automatically whenever content, categories or settings change.
- Section headings follow the site language (for example “## Seiten” and “## Beiträge” on German sites).
Limitations
Structured llms.txt lists pages, posts and (if WooCommerce is active) products. Other custom post types are not included. On a Multisite network, each site’s llms.txt describes only that site’s own content; content from several sites is never merged into one document.
Written by Joobi from the project's own listing. See the source page
1.8.0
- New: choose which pages appear in llms.txt directly from the settings screen, the same way categories already work, no need to open each page individually.
- New: settings screen now saves in three separate, focused steps (“Save settings” for tagline & alternate sites, “Save categories” for post/product categories, “Save pages” for the page list).
- Tweak: clicking “Leave a review” on the review-request notice now shows a short thank-you message right away.
1.7.0
- New: “Settings” link on the Plugins list page, next to Deactivate.
- Tweak: the “Post categories” section now moved below “Alternate language sites” on the settings screen, and shows a “No Posts available.” notice instead of the category list when the site has no published posts.
1.6.0
- New: optional manual page order. Drag pages into the order you want on the settings screen; this writes directly to each page’s native “menu_order” field and takes precedence over the default last-modified order.
1.5.0
- Added a dismissible admin notice asking for a WordPress.org review, shown once a site has used the plugin for at least two weeks.
1.4.0
- Titles, category names, and descriptions are now decoded and stripped of markup before being written to llms.txt: WordPress-escaped characters (e.g. “AI & Software” or a
wptexturize()-inserted “–” or “…”) and soft hyphens (­) no longer leak into the output as literal HTML entities. - Moved the alternate-language-version link to directly below the tagline, before
## Pages, matching the llms.txt specification’s placement of blockquote metadata right after the H1; it’s now also written as a proper Markdown link,[URL](URL), instead of a bare URL.
1.3.0
- Pages are now sorted by last-modified date, oldest first, with the static front page (if configured) always at the top. This matches how Yoast SEO orders pages in its XML sitemap. Previously pages were ordered by menu order, then by title.
1.2.2
- Added “Support” and “Rate this plugin” links to the plugin’s row on the Plugins screen.
1.2.1
- Shortened the short description to fit the 150-character limit of WordPress.org.
1.2.0
- New: WooCommerce support. Published products are listed in a
## Productssection, grouped by product category, with drag & drop ordering. The “Exclude from llms.txt” checkbox and “noindex” detection apply to products too.
1.1.5
- Bundled translation files are no longer shipped in the package; translations are delivered via translate.wordpress.org.
1.1.4
- Code quality: resolved Plugin Check and PHPCS warnings.
1.1.3
- Added a formal German translation (de_DE_formal, “Deutsch (Sie)”).
1.1.2
- Fixed: the German translation now also loads on sites where the plugin was installed manually.
1.1.1
- Fixed: WordPress redirected
/llms.txtto/llms.txt/.
1.1.0
- New: pages and posts marked “noindex” in Yoast SEO, Rank Math, SEOPress or All in One SEO are excluded automatically.
- Added a German (de_DE) translation.
1.0.0
- Initial release.
Follow this listing's changes (Atom feed)