Dynamic llms.txt Generator

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 each page (posts, pages, products, or any custom post types) in a format optimized for LLM training and analysis, based on admin-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 [email protected].

Screenshots

  • Screenshot of the llms.txt generator settings.

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.

Reviews

19 ខែ​វិច្ឆិកា, 2025
This one does a nice job of creating an llms.txt file in the right format without any manual effort. I like how it structures the content properly and lets you choose what to include. The setup is easy and its recommended if we want to make the site more AI friendly.
Read all 1 review

Contributors & Developers

“Dynamic llms.txt Generator” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.1

  • WordPress version compatibility update.

1.0.0

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