Sites llms.txt¶
Sites llms.txt lets the sections of the
llms.txt module belong to sites,
like content. Each site's /llms.txt serves the header text, then the
llms.txt sections that belong to that site: a section assigned to Hydrion
shows on www.hydrion.example/llms.txt. A section on no site is served
nowhere. The hub answers anonymous visitors, crawlers included, with 404 on
/llms.txt: it serves them only its Anonymous hub routes
(Sites UI).
Install¶
A project of its own, drupal.org/project/llms_txt_sites:
composer require drupal/llms_txt_sites
drush en llms_txt_sites
Requires llms_txt (llms_txt), Sites content.
Configure¶
- Write the header text on llms.txt configuration
(
/admin/content/llms-txt). Its tokens resolve per site:# [site:name]opens Hydrion's file with "# Hydrion". - Keep llms.txt section assignable on the site types (it is by default; see Content on sites).
- Create the sections under /llms.txt sections and assign each to its sites like other content (Share content between sites).
Last updated 2026-10-16