Starting with Discourse v2026.1.0, native support for the llms.txt standard is included. This allows Large Language Models (LLMs) to crawl and interpret your site content more effectively.
How to enable native llms.txt support
- Go to
/admin/config/security and search for LLMs TXT
- Upload your
llms.txt file (.txt and .md formats are accepted; see https://llmstxt.org for syntax, format, and implementation details)
- Save the configuration
Once configured, your file will automatically be served at:
https://yoursite.com/llms.txt
If you want a reference example, you can check https://meta.discourse.org/llms.txt
11 Likes
Is it not possible for Discourse to create the llms.txt dynamically for the site? That seems like it would be a far more useful feature, and would bring it into line with the 🤖 Discourse llms.txt Generator Plugin - #2 by Ivan_Rapekas which this new feature collides with, overriding the path /llms.txt and returning a 404 even if the plugin is correctly configured.
Is this addition to the feature on the roadmap somewhere?
5 Likes
My workaround for this issue was:
-
Create a llms.txt file in VS Code containing only
Go to [https://<YOUR-BASEURL>/llms-full.txt](https://<YOUR-BASEURL>/llms-full.txt)
-
Upload this to the admin/config/security?filter=LLMs%20TXT Discourse core llms.txt section. Save.
-
Test https://<YOUR-BASEURL>/llms.txt displays the contents of the text file above.
-
Now hopefully LLMs arriving at llms.txt will be guided to navigate to the llms-full.txt which is generated dynamically by 🤖 Discourse llms.txt Generator Plugin
1 Like