Documentation: LLMs.txt Generator
Configuration
The LLMs.txt Generator is a Joomla task plugin that builds a curated /llms.txt file from your menus and content and writes it to your site root. It runs through the Joomla Scheduler (com_scheduler) as a recurring task, so the file stays up to date automatically.
This page documents every setting. The settings live on the scheduled task itself: go to System > Scheduled Tasks, open (or create) a task of type Generate llms.txt, and configure it under the llms.txt tab.
How it works
Each time the task runs, the plugin reads its parameters and rebuilds the file from scratch:
- A header made up of a title, a summary and an optional intro paragraph.
- One or more sections, each pulling a list of links from a menu, from content categories, or from your articles.
- The result is written to your site root as
llms.txt(or the file name you choose).
Which pages are listed
The file only lists pages that a guest visitor can actually open. A link is left out when:
- it requires a login: every item is checked against the public and guest view access levels;
- the article or menu item is outside its publish dates, so scheduled and expired content stays out;
- the article is in an unpublished or non-public category, or below one;
- a menu item points to an article or category that is unpublished, trashed or not public;
- a menu item of the type URL is only a placeholder (
#) or not a web page (javascript:,mailto:,tel:).
Titles with square brackets and external URLs with spaces or parentheses are escaped, so every line stays a valid Markdown link.
Setting up the scheduled task
When you install the plugin it enables itself and creates a daily task automatically, set to run at 03:00 (server time, UTC). Its first section lists the menu that holds your home page, with the title of that menu as the heading. You can change the schedule, the sections, and every other option on the task.
If you run Joomla's scheduler through a real system cron on the command line, set the Site URL option below. For web-cron (the default lazy scheduler that triggers on site visits) you can leave it empty.
General settings
These apply to the whole file.
| Site URL |
Absolute URL of your site, for example |
| Output file | The file name written to your site root. The llms.txt standard expects it to be called llms.txt, so only change this if you have a specific reason. Only a .txt or .md file name is accepted. |
| Remove URL language code | On a multilingual site Joomla adds a language prefix to URLs, for example /en/page. Turn this on to strip that prefix so links become /page. It only removes a segment that matches a published language code, and it never touches external links. |
| Exclude noindex pages | On by default. Leaves out articles and menu items whose robots setting contains noindex. The robots value of the article or menu item itself comes first; without one, an article inherits the value of the menu item it is shown under, just like in Joomla. The robots setting in the Global Configuration is not taken into account. |
| Title (H1) | The main heading of the file, rendered as # Title. Leave it empty to use your site name. |
| Summary (blockquote) | One or two sentences describing your site. Rendered as a > blockquote directly under the title. |
| Intro paragraph | An optional paragraph with extra context, shown after the summary. |
Multilingual sites with a separate domain per language: when you use Joomill Domain per Language or n3t Language Domains, links to pages in another language point to the domain of that language.
Sections
Sections are the heart of the file. Each section becomes an ## Heading followed by a curated list of links formatted as - [title](url): description. Add as many sections as you need with the plus button; drag to reorder them.
A tip from the llms.txt standard: if you name a section Optional, agents may skip it when they are short on context. Use that for secondary material.
Choosing a source
Every section pulls its links from one Source. The source you pick determines which of the fields below appear.
| Menu |
The items of a single site menu. |
| Content categories | Articles from one or more content categories. |
| Articles (all) | All published articles, without a category restriction. |
Common fields
These fields are available for every source.
| Heading |
The |
| Language | Only include items in this language. Language-neutral items are always kept. Leave it on All languages to disable the filter. |
| Descriptions | Where the text after each link comes from. Automatic uses the meta description and falls back to the intro text. You can also force Meta description only, an Intro text snippet, or No descriptions. |
| Max items | The maximum number of links in this section. Set to 0 for no limit. Defaults to 50. |
Menu source
When Source is set to Menu, these fields appear.
| Menu |
The site menu to list. |
| Only these items | Limit the section to the menu items you select here. Leave empty to include every item of the menu. |
| Exclude items | Menu items to leave out of the section. |
| Include submenu items | On by default. Includes nested menu items at every level. Turn it off to list only the top-level items. When you use Only these items, that explicit selection takes priority over this toggle. |
The include and exclude pickers only show the items of the menu you chose for this section, and they follow along when you switch to another menu.
Content categories source
When Source is set to Content categories, these fields appear.
| Categories |
One or more content categories to pull articles from. |
| Include subcategories | Off by default. Turn it on to also include articles from the subcategories of the selected categories, at every level. |
The article, age and ordering fields below also apply.
Articles source
When Source is set to Articles (all), the section lists every published article. Use the article, age and ordering fields to narrow and sort the list.
Article, age and ordering fields
These fields apply to both the Content categories and Articles (all) sources.
| Only these articles |
Limit the section to the articles you select. Type at least two characters of the title to search; the field shows up to 30 matching published articles, with the article ID in brackets. Leave empty to include all matching articles. |
| Exclude articles | Articles to leave out of the section. Searches the same way as Only these articles. |
| Maximum age (days) | Only include articles published within this many days, based on the publish date (falling back to the created date). Use 0 to show all. |
| Order | How the links are sorted: Newest first, Category order, or Title A to Z. |
Verifying the result
After the task runs, open https://your-site.com/llms.txt in a browser. The success is also logged on the task: the log records the file that was written and its size. If the file cannot be written, the log tells you whether the site root or the existing file is not writable, and the task ends with a failure status.
When no section produced any links, the file only contains the site name and the task log shows a warning. This usually means a section points to a menu or category that no longer exists, or that has no public items.
Uninstalling
Uninstalling the plugin removes its scheduled tasks and the generated file from your site root. Joomla's own text files in the site root, such as robots.txt, are never removed.
Related
Making your site AI-friendly? Pair this plugin with the Joomill Markdown plugin to serve your articles as clean Markdown for AI agents and LLMs.