We’ve just released the first beta of Acorn LLMs.txt, a new package that implements https://llmstxt.org/ for WordPress sites using Acorn:
Features
- llmstxt.org compliant: Implements the standard specification for LLM-readable content
- Multiple endpoints:
/llms.txt
(listing),/llms-full.txt
(complete content),
/llms-small.txt
(excerpts), individual post endpoints - XML sitemap integration:
/llms-sitemap.xml
with automatic SEO plugin integration (Yoast, RankMath, The SEO Framework, WordPress core) - SEO integration: Respects noindex settings and adds
X-Robots-Tag
headers to prevent search engine indexing - WooCommerce support: Product SKUs, prices, and metadata automatically included
- Hierarchical pages: Displays page hierarchy with proper indentation
- High performance: Built-in Laravel Cache integration with automatic invalidation
- WordPress shortcode processing: Converts shortcodes to readable content before markdown conversion
- Extensible: Developer hooks and filters for customization
- Configurable: Comprehensive configuration options for content filtering and formatting
Installation
composer require roots/acorn-llms-txt
wp acorn vendor:publish --provider="Roots\AcornLlmsTxt\Providers\LlmsTxtServiceProvider"
This is a beta release and we’d love your help testing it! Try it out on your Acorn sites and let us know if you have any issues or feedback.
Check out https://github.com/roots/acorn-llms-txt for documentation and to report issues