=== LLMs.txt Generator – AI Visibility === Contributors: aireadytools Tags: llms.txt, ai visibility, chatgpt, seo, woocommerce Requires at least: 6.0 Tested up to: 6.9 Requires PHP: 8.0 Stable tag: 1.2.7 License: GPL-2.0-or-later License URI: https://www.gnu.org/licenses/gpl-2.0.html Generate and publish llms.txt for AI assistants like ChatGPT, Claude and Perplexity. Free standalone mode; Pro API mode adds WooCommerce drill-down. == Description == **llms.txt** is the emerging standard for helping AI assistants understand your website — like robots.txt for search engines, but for ChatGPT, Claude, and Perplexity. Most llms.txt plugins generate a static list of links. This plugin goes further: it builds structured, AI-optimised content from your WordPress data — with real product prices, stock status, categories, and short descriptions included out of the box. The Pro API adds capabilities no other plugin offers: per-product drill-down with SKU and specifications, intent routing for 26 customer question types, and auto-generated comparison tables. = What makes this plugin different? = * **WooCommerce-aware from the start:** Free mode already includes product names, prices, categories, and stock status — not just page links * **Dynamic serving via rewrite rules:** No physical file to manage. `/llms.txt` and `/llms-full.txt` are served directly through WordPress and cached for one hour * **Auto-regeneration:** Content updates trigger asynchronous regeneration via WP-Cron — zero manual maintenance * **REST API webhook:** External systems (CI/CD, cron, headless setups) can trigger regeneration via `POST /wp-json/llmstxt/v1/regenerate` * **Fully translatable:** Complete German (de_DE) and English support, all strings served via `wp_localize_script` = Free features = * Generates llms.txt from WordPress pages, posts, and WooCommerce products with prices and stock status * Serves `/llms.txt` and `/llms-full.txt` via WordPress rewrite rules — no physical file needed * Auto-regenerates when posts or products are saved * Custom Markdown sections appended to output * Works with any WordPress theme * Full German (de_DE) and English translation support = Pro features (via llmstxtgenerator.de API) = The Pro mode offloads generation to a dedicated crawling API. This enables features that require full-page analysis beyond what WordPress data alone provides: * **Product Drill-Down:** Price, SKU, specifications, and variants extracted per product page — AI assistants can answer "How much does X cost?" with your real price * **Intent Routing:** 26 customer question types (price, comparison, availability, installation, warranty…) mapped to the correct pages on your site * **Competitor comparison tables:** Auto-generated from your product catalog so AI assistants can recommend your products in comparison queries * **5 file formats:** llms.txt, llms-full.txt, robots.txt snippet, JSON-LD, CSV — covering every AI integration scenario * **Unlimited domains** and priority support Get your Pro key at [llmstxtgenerator.de/pro/](https://llmstxtgenerator.de/pro/) = What is llms.txt? = llms.txt is an open standard (llmstxt.org) — a structured Markdown file in your site root that tells AI systems who you are, what you offer, and where to find your key content. Early adopters gain a significant advantage as AI assistants increasingly cite structured sources over unstructured web pages. = WooCommerce support = When WooCommerce is active, the plugin automatically includes your product catalog with names, prices, categories, stock status, and short descriptions. WooCommerce system pages (cart, checkout, my account) are automatically excluded. = Privacy = In free mode, no data leaves your server. In Pro mode, only your public website URL is transmitted to the llmstxtgenerator.de API to perform crawling. No personal data is processed or stored. The plugin is GDPR-compliant. == External services == In **free mode**, this plugin operates entirely on your own server. No data is sent to any external service. In **Pro mode**, this plugin connects to the llmstxtgenerator.de API to generate an AI-optimised llms.txt file for your site. * **What the service does:** Crawls your public website and generates a structured llms.txt output with product drill-down, intent routing, and comparison tables. * **What data is sent:** Your public website URL and your Pro licence key. No personal data of your visitors is transmitted. * **When data is sent:** Only when you click "Generate Now" in Pro mode or when auto-regeneration is triggered by a content update (if enabled). * **Service provider:** llmstxtgenerator.de, operated by André Hülsmann, Steinstr. 13, D-37242 Bad Sooden-Allendorf, Germany. * **Terms of service:** https://llmstxtgenerator.de/terms/ * **Privacy policy:** https://llmstxtgenerator.de/privacy/ == Installation == 1. Upload the `aiready-llms-txt-generator` folder to `/wp-content/plugins/` 2. Activate the plugin through **Plugins > Installed Plugins** in WordPress 3. Click **LLMs.txt** in the admin sidebar 4. Click **⚡ Generate Now** — your `/llms.txt` is live immediately 5. Optional: switch to **Pro** mode and enter your licence key for enhanced output = Minimum requirements = * WordPress 6.0 or higher * PHP 8.0 or higher == Frequently Asked Questions == = Does this slow down my website? = No. The llms.txt file is served via a lightweight rewrite rule and cached for one hour. Regeneration runs asynchronously via WP-Cron after content changes, not during the page load. = Does it work without WooCommerce? = Yes — it works with any WordPress site and includes pages and blog posts. WooCommerce product data is automatically included when WooCommerce is detected. = What is the difference between llms.txt and llms-full.txt? = `llms.txt` is a concise summary optimised for most AI assistants. `llms-full.txt` contains extended descriptions and is intended for AI crawlers that fetch additional context. Both files are generated and served automatically. = Is the plugin GDPR-compliant? = Yes. In free mode, no data leaves your server. In Pro mode, only your public website URL is sent to the llmstxtgenerator.de API. The plugin stores no personal data. = How do I trigger regeneration from an external system? = Enable a webhook secret in Settings > Advanced. Then POST to `/wp-json/llmstxt/v1/regenerate` with the header `X-LLMSTXT-Key: your-secret`. = What happens when I deactivate or delete the plugin? = Deactivating removes the rewrite rules and stops scheduled regeneration. Deleting the plugin additionally removes all stored options and generated files from your server. == Screenshots == 1. Plugin-Dashboard (DE) — Dateistatus, Jetzt-generieren-Button und Einstellungen / Plugin dashboard (EN) — file status, generate button and settings 2. Vorschau der generierten llms.txt-Datei mit Markdown-Struktur / Preview of the generated llms.txt file with Markdown structure 3. Pro-Modus — Lizenzschlüssel eingeben und freischalten (keine echte Lizenznummer erforderlich) / Pro mode — enter and activate licence key (no real licence number shown) 4. WooCommerce-Produktbereich im generierten Output — Preise, Lagerstatus und Beschreibungen automatisch einbezogen / WooCommerce product section in generated output — prices, stock status and descriptions included automatically == Changelog == = 1.2.7 = * Added: noindex detection — pages/posts marked noindex in Yoast SEO, Rank Math, SEOPress, or All in One SEO are automatically excluded from llms.txt * Added: URL exclusion list — manually exclude specific URLs or path patterns (supports wildcards, e.g. /shop/*) * Added: robots.txt Disallow respect — optionally exclude all paths blocked by robots.txt Disallow rules for User-agent: * * Fixed: Pro licence key is now automatically saved and settings reloaded after successful key verification — no separate "Save Settings" click required * Fixed: Plugin URLs corrected to non-www canonical (llmstxtgenerator.de/terms/ and llmstxtgenerator.de/privacy/) = 1.2.5 = * Fixed: German umlauts and all non-ASCII characters now display correctly — Apache serves text/plain as ISO-8859-1 by default; plugin now inserts a FilesMatch rule into .htaccess on activation and on every generate to declare UTF-8 charset for llms.txt and llms-full.txt * Fixed: .htaccess rule is removed cleanly on plugin deactivation and uninstall = 1.2.4 = * Fixed: Plugin now always writes physical llms.txt and llms-full.txt to the WordPress site root so AI crawlers and external checkers (e.g. llmstxtgenerator.de) can access them directly — independent of rewrite rules or caching plugins * Fixed: Uninstall now also removes root copies of llms.txt and llms-full.txt = 1.2.3 = * Fixed: Middle dot (·) used by SEO plugins as tagline separator no longer appears in output * Fixed: Robust fallback in title cleaning: uses both regex and explicit str_replace to handle all separator variants (–, —, |, -) * Fixed: Page and post titles stripped of SEO-plugin-appended site-name suffix * Fixed: HTML entities in WooCommerce prices and descriptions decoded correctly * Fixed: /llms-full.txt now cached in free mode * Fixed: Free mode reports error when uploads directory not writable * Fixed: Pro mode API URL corrected (www → non-www) to prevent POST redirect stripping auth headers * Fixed: Key verification correctly rejects invalid keys = 1.2.0 = * Added: External services documentation in readme (llmstxtgenerator.de API) * Removed: "Write physical file to site root" option — llms.txt is served dynamically via rewrite rules; no ABSPATH writes required = 1.1.0 = * Fixed: Pro mode "Generate Now" now uses correct API endpoint and response format * Added: Full German (de_DE) translation for all UI strings, including JavaScript labels * Added: `uninstall.php` for clean removal of all plugin data * Changed: File I/O now uses WP_Filesystem API instead of direct PHP functions * Changed: Replaced deprecated `get_page_by_title()` with `get_posts()` equivalent * Changed: Minimum PHP version raised to 8.0 to reflect actual code requirements * Improved: All JavaScript labels are now served via `wp_localize_script` — fully translatable * Improved: Plugin header updated with all recommended fields = 1.0.0 = * Initial release * Free standalone mode for WordPress + WooCommerce * Pro API mode with product drill-down * Auto-regeneration on content changes * Custom Markdown sections support * REST API webhook endpoint for external triggers == Upgrade Notice == = 1.1.0 = Fixes Pro mode generation error. Update recommended for all Pro users. = 1.0.0 = Initial release.