Menu

Docs / features

Understanding LLMs.txt

Learn what LLMs.txt is and how Topmast generates and publishes it.

What is LLMs.txt?

llms.txt is a plain-text map of your website for large language models (LLMs). llms.txt is a proposed convention. We can't show that any particular assistant reads it; the Crawlers screen shows which bots fetch your files.

The file lives at the root of your site:

https://yoursite.com/llms.txt

Why This Matters

llms.txt is a proposed plain-text guide to your site, published at its own public URL. llmstxt.org describes it as a proposal, not a standard, and Google says its AI features need no AI text files. llms-full.txt puts the text of your pages in one file, for any tool that asks for it. Both are open to anyone who requests them; neither changes your normal pages.

What It Contains

Your LLMs.txt file describes:

  • What your business does
  • What pages exist on your site
  • What each page contains
  • How to accurately describe your offerings

File Format

An AI model writes your llms.txt from your synced pages. The wording varies; a typical file looks like this:

# Your Site Name

> A brief description of your business and what you offer.

## Pages

- Page Title: /url-path
  AI-optimized summary of the page content...

- Another Page: /another-path
  Description of what this page covers...

---
Last updated: 2026-01-01
Domain: yoursite.com

Sections Explained

SectionPurpose
Header (#)Your site/business name
Blockquote (>)Brief description of your business
PagesList of pages with URLs and summaries
FooterThe date it was generated and your domain

LLMs.txt vs LLMs-full.txt

Topmast generates two files:

llms.txt

  • Concise summaries of your main pages
  • Written by an AI model from your synced pages

llms-full.txt

  • Complete content from each page
  • Built from your page content and summaries

The plugin serves each file once you publish it. Until then it returns 404.

Generation Process

When you generate LLMs.txt, Topmast:

  1. Fetches your synced published pages, up to your plan's page limit (50 on Starter, 100 on Basic, Pro and Fleet)
  2. Writes the file with a model from OpenAI, Anthropic or Google, chosen by Topmast
  3. Adds a footer with the date and your domain
  4. Saves it in WordPress as a draft (or publishes it straight away if Auto Publish is on in Settings)

Managing LLMs.txt

Regenerate

Update your LLMs.txt when content changes significantly:

  1. Go to Topmast → Channels → llms.txt
  2. Click Regenerate
  3. Check the preview, then click Publish

Or via WP-CLI:

wp topmast llms-txt generate --force

Without --force, Topmast reuses the last file if your synced pages haven't changed. The file never regenerates on its own.

Publish and Unpublish

wp topmast llms-txt publish
wp topmast llms-txt unpublish --full

Viewing Your File

Browser Preview

Visit these URLs to see your generated files:

  • https://yoursite.com/llms.txt
  • https://yoursite.com/llms-full.txt

Admin Preview

Preview in WordPress at Topmast → Channels → llms.txt:

  • View generated content
  • See whether each file is a draft or published
  • Check generation date

WP-CLI

# View LLMs.txt content
wp topmast llms-txt show

# Status, size and public URL of both files
wp topmast llms-txt status

Troubleshooting

404 Error on /llms.txt

Solution: Flush rewrite rules

  1. Go to Settings → Permalinks
  2. Click Save Changes

Or: wp rewrite flush

Empty or Missing Content

Possible causes:

  • No pages synced yet - run wp topmast sync
  • The file is still a draft - click Publish
  • Generation failed - check wp topmast logs show --level=error

Outdated Content

Solution: Force regeneration

wp topmast llms-txt generate --force

Or click Regenerate in the admin panel.

Best Practices

Keep Content Current

  • The plugin syncs a page when you publish or update it, and runs a full sync weekly
  • Regenerate when you make significant changes
  • Review summaries for accuracy

Optimize Page Content

Better source content leads to better AI summaries:

  • Write clear, descriptive titles
  • Include key information early in content
  • Use structured headings (H2, H3)
  • Add relevant keywords naturally

Monitor AI Visibility

After implementing LLMs.txt:

  • See which bots fetch your files on the Crawlers screen
  • Track AI mentions in your dashboard

Sources, checked on 2026-10-23