llms.txt is a Markdown file served at your site root that helps large language models like ChatGPT, Claude, Perplexity, and Gemini understand your site quickly. AEO God Mode auto-generates and serves this file from your existing WordPress content.
What llms.txt Contains
The build_content() method generates these sections:
- H1 Header — Your site name (from WordPress Settings > General)
- Blockquote — Your site tagline
- Free-form context — Custom text you write to describe your business
- Core Pages section — Links to pages with descriptions (About, Contact, Services, etc.)
- Categories section — All published categories with post counts
- Guides section — Your most recent published posts as links with excerpts
- Ignore section — URLs that AI systems should skip (login, admin, feeds, etc.)
Every link uses the format Title: Description per the llms.txt specification.
Accessing the llms.txt Page
Go to AEO God Mode > llms.txt in your WordPress admin sidebar, or navigate directly to admin.php?page=aeo-god-mode#/llms.
What You See on the Page
Spec Compliance Checklist
Six green/yellow indicators showing whether your llms.txt meets the specification:
- H1 brand name
- Blockquote summary
- Core Pages section
- Link descriptions
- Guides section
- Ignore section
Free-Form Context Editor
A text area where you can add context about your business. This content appears between the blockquote and the first section. Include what you do, who you serve, key facts, pricing, and anything an AI should reference.
When you type in this field, a Save & Regenerate button appears. Clicking it saves your custom content (via the /aeo-god-mode/v1/llms/custom endpoint) and regenerates the full file immediately.
Live Preview
The generated llms.txt content is displayed as a monospace preview. This shows exactly what AI systems will see when they access yoursite.com/llms.txt.
Quick Actions
- Copy — Copies the full llms.txt content to your clipboard
- Regenerate — Forces the file to rebuild from current WordPress content
- External link — Opens
yoursite.com/llms.txtin a new tab to verify the live file
How Caching Works
The plugin uses WordPress transient caching with a 24-hour expiry (DAY_IN_SECONDS). The serve_llms_txt() method works like this:
- An incoming request for
/llms.txthits the custom rewrite rule - The plugin checks for a cached transient (
asgm_llms_txt_content) - If cached, it serves the cached version immediately with
Content-Type: text/plain - If expired (after 24 hours), it calls
build_content()to regenerate, stores the new transient, and serves it
There are no user-configurable cache settings. The cache auto-expires every 24 hours and rebuilds on the next request. You can also force a manual regeneration from the admin page.
How Content Selection Works
The build_content() method pulls from:
- Core pages: Found by checking page slugs against a list of common patterns (about, contact, services, pricing, faq, team, careers, privacy-policy, terms, features)
- Categories: All public categories from
get_categories() - Posts: The 20 most recent published posts, with auto-generated summaries from excerpts or the first 160 characters of content
- Ignore list: Hard-coded patterns for admin, login, feed, wp-json, wp-content, and other non-content URLs
Troubleshooting
llms.txt returns a 404:
- Make sure the LLMS module is enabled in AEO God Mode > Settings
- Flush permalinks (Settings > Permalinks > Save Changes)
- Check that your server allows custom rewrite rules
Content looks outdated:
- Click Regenerate on the llms.txt page to force a fresh build
- The cache auto-refreshes every 24 hours
Free-form context not appearing:
- After editing, click Save & Regenerate (not just Save)
- Check the Live Preview to confirm your text appears below the blockquote