Acorn LLMs.txt beta release

:wave: 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

2 Likes

Could you guys have a look at this 2-week-old PR and the corresponding issue? We really want to try this plugin on our production site but the bug sadly makes it impossible to do so.

https://github.com/roots/acorn-llms-txt/pull/2

It’s a low priority, but you can just apply that PR with a patch if you want to test

{
  "require-dev": {
    "cweagans/composer-patches": "^1.7"
  },
  "extra": {
    "patches": {
      "roots/acorn-llms-txt": {
        "Fix new post error": "https://github.com/roots/acorn-llms-txt/pull/2.patch"
      }
    }
  }
}