HomeFix guides → /llms.txt present (llmstxt.org convention)

geo

How to fix: /llms.txt present (llmstxt.org convention)

Why this matters

llms.txt is the emerging convention (analogous to robots.txt) that gives LLMs structured guidance on site content, preferred citation format, and available resources. Early adopters are more likely to be cited correctly than sites left to inference.

Background

llms.txt is the emerging convention (analogous to robots.txt) that gives LLMs structured guidance on site content, preferred citation format, and available resources. Early adopters are more likely to be cited correctly than sites left to inference.

References

llmstxt.org · Andreessen Horowitz LLM-website-guidance proposal (2024)

How to fix

Code snippet for each stack we cover. Pick the one matching your server / framework.

nginx
Add location /llms.txt block serving a static file.
apache
Place llms.txt in document root.
cloudflare
Worker route serving the markdown file, OR place in Pages root.
wordpress
Upload llms.txt via FTP to the WP root, OR use a plugin like 'Virtual Robots.txt' configured for llms.txt.
flask
Add @app.route('/llms.txt') returning a markdown response, OR serve as a static file.
express
app.use('/llms.txt', express.static(...)).
rails
Place in public/llms.txt — Rails serves it automatically.

Verify it's working

curl https://your-site/llms.txt — should return 200 with markdown content matching the llmstxt.org spec.

Want to know if your site has this issue?

Run a free 53-check audit — security, GDPR, NIS2, and technical SEO.

Audit my site →