Enabling native LLMs.txt support in Discourse

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

  1. Go to /admin/config/security and search for LLMs TXT
  2. Upload your llms.txt file (.txt and .md formats are accepted; see https://llmstxt.org for syntax, format, and implementation details)
  3. 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

10 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?

2 Likes