Dynamic llms.txt Generator

By ColorWhistle

★ 5.0/5 (1 ratings)10+ active installationsVersion 1.1.5

Auto-generates a structured llms.txt file with page metadata, headings, and main content for LLM training, analysis, and AI search crawlers.

Description

The Dynamic llms.txt Generator plugin dynamically generates a structured llms.txt file in your WordPress root directory. The file provides detailed page metadata, headings structure, and main content for posts, pages, products, and custom post types in a format optimized for LLM training, analysis, and AI crawlers based on configurable settings and efficient caching.

Features

  • Admin UI: Configure which post types, maximum posts per type, word limits, meta/excerpt/taxonomy inclusion, SEO options, and update frequency.
  • Structured Output: Generates detailed page sections with metadata, headings structure, and main content for each page.
  • Caching: Uses a custom database table for fast, efficient content retrieval.
  • Physical File: Writes llms.txt to the WordPress root directory.
  • SEO & Sitemap: Optionally adds a noindex header and integrates with RankMath/Yoast sitemaps.
  • Scheduled or On-Demand: Updates file on post changes, via cron, or manually.
  • WooCommerce Support: Includes SKU and price for products if WooCommerce is active.
  • Translation Ready: Fully i18n compatible.

Usage

  • Configure which post types and content options to include.
  • Choose update frequency: immediate (on change), daily, or weekly.
  • Access your generated file at https://yoursite.com/llms.txt
  • If enabled, llms.txt will be added to your sitemap (RankMath/Yoast supported).

Support

If you have any issues or need help, please visit our support forum or contact us at creators@colorwhistle.com.

Installation

  1. Upload the plugin folder to /wp-content/plugins/dynamic-llms-txt-generator/
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Tools → Dynamic llms.txt to configure settings.

FAQ

Where is the llms.txt file located?

It is generated in your WordPress root directory (same as wp-config.php).

How is the file updated?

Based on your settings: on post changes, via scheduled cron, or manually from the admin page.

Is it SEO safe?

Yes. You can add a noindex header and control sitemap inclusion.

Does it support WooCommerce?

Yes, product SKUs and prices are included if WooCommerce is active.

Screenshots

Changelog

1.1.5

  • Added admin toggle to enable or disable the Headings Structure section in the generated llms.txt file.

1.1.4

  • Enhanced compatibility with WPML dynamic hooks.

1.1.3

  • Improved sitemap URL detection in the generated llms.txt file.
  • Improved homepage URL handling for multi-language sites.

1.1.2

  • Minor enhancements and maintenance updates.

1.1.1

  • Minor enhancements and maintenance updates.
  • WordPress compatibility checks and stability improvements.

1.1.0

  • Added WPML plugin support for multilingual websites.
  • Added language selection options to generate llms.txt in your chosen languages.
  • Improved content caching performance and overall plugin reliability.
  • Enhanced llms.txt file layout and formatting for better clarity.

1.0.2

  • Fixed trailing slash URL generation issue.
  • Improved cache regeneration.
  • Fixed root llms.txt generation.
  • Improved compatibility with latest WordPress version.

1.0.1

  • WordPress version compatibility update.

1.0.0

  • Initial release: full admin UI, caching, cron, SEO integration, and structured llms.txt output.