=== Dynamic llms.txt Generator === Contributors: colorwhistlecw Tags: llms, txt, SEO, sitemap, cache Requires at least: 5.5 Tested up to: 7.0 Requires PHP: 7.4 Stable tag: 1.1.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html 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. == 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. == 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). == Frequently Asked Questions == = 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. == Changelog == = 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. == Upgrade Notice == * Fixes root file path and /llms.txt serving. After updating, regenerate llms.txt from the settings page. * Always back up your site before updating. * After updating, review your settings under Tools → Dynamic llms.txt. == Screenshots == 1. Screenshot of the llms.txt generator settings. == Support == If you have any issues or need help, please visit our support forum or contact us at creators@colorwhistle.com.