=== CodingBunny LLMs.txt Generator ===
Contributors: codingbunny
Tags: ai, llms, sitemap, crawlers, seo
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
Stable tag: 1.2.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Advanced llms.txt generator with AI metadata, Schema.org types, canonical URLs, and differentiated licenses for optimal LLM indexing.

== Description ==

CodingBunny LLMs.txt Generator creates an advanced llms.txt file to help AI systems discover and understand your content with rich semantic metadata.

= Key Features =

* **AI Metadata**: Schema.org types, canonical URLs, related content, differentiated licenses
* **Smart Filtering**: Decorative image detection, featured-only option, configurable limits
* **Crawler Control**: Allow/Disallow directives, AI bot allowlist, SEO noindex integration
* **Rich YAML**: Title, category, type, date, summary, author, language, tags, priority
* **Automation**: Daily/weekly scheduling, immediate on-publish, generation history
* **Developer-Friendly**: 20+ hooks/filters, WooCommerce support, multilingual ready
* Schema.org auto-detection (Article, Product, ContactPage, FAQPage, etc.)
* Canonical URLs (Yoast/RankMath compatible)
* Related URLs (parent/child pages, related posts/products)
* Differentiated licenses (content vs. media)
* HTML entity fixes and improved text normalization

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`
2. Activate from "Plugins" menu
3. Go to "Settings → LLMs Generator"
4. Click "Generate llms.txt"

== Frequently Asked Questions ==

= Where is llms.txt written? =
In your WordPress root: `https://yoursite.com/llms.txt`

= Recommended settings? =
* Max attachments: 20-30
* Filter decorative: Enabled
* Priority sort: Relevance
* Include schema_type: Enabled
* Auto-disallow noindex: Enabled

= How does Schema.org detection work? =
Automatically detects:
* Post → BlogPosting
* Product → Product
* Page title "contact" → ContactPage
* Page title "about" → AboutPage
* Images → ImageObject

= Different licenses for content/media? =
Yes! Set "Default License" for posts/pages and "Attachment License" for images separately.

= How do related URLs work? =
Auto-finds:
* Parent/child pages
* Related posts by category
* WooCommerce related products

= Multilingual support? =
Yes! Detects Polylang/WPML languages. Output: `language: [en-US, it-IT]`

= WooCommerce compatible? =
Fully! Auto-excludes cart/checkout, detects products, includes product categories.

== Changelog ==

= 1.2.2: 2026-02-26 =
* Fix: Fixed a bug in Priority URLs ordering

= 1.2.1: 2026-02-26 =
* Improved: Added the ability to exclude pages, posts, and products by ID

= 1.2.0: 2026-02-23 =
* New: Added "Additional content" field
* New: Added option to set the number of words in the summary
* Improved: Changed the interface style
* Fix: Compatibility issues with shortcodes from major page builders resolved

= 1.1.2: 2026-02-22 =
* Fix: Fixed rendering of shortcode content

= 1.1.1: 2026-01-19 =
* Fix: Fixed a bug that inserted an unwanted space within numeric values

= 1.1.0: 2025-11-10 =
* New: Added comprehensive server configuration management
* New: Automatic .htaccess setup for Apache/LiteSpeed servers
* New: Server Tools admin page with real-time .htaccess preview
* New: Automatic server type detection (Apache, Nginx, IIS)
* New: Manual configuration instructions for all server types
* New: Real-time Content-Type header detection for llms.txt
* New: One-click add/remove .htaccess rules with visual feedback
* Improved: Enhanced uninstall process now removes .htaccess rules
* Improved: Better WordPress Coding Standards compliance
* Improved: All functions and variables now use proper plugin prefix
* Improved: Enhanced AJAX operations with nonce verification
* Improved: Added capability checks for all admin operations
* Fix: Corrected WPML integration with proper hook usage
* Fix: Improved code documentation with complete DocBlocks

= 1.0.3: 2025-11-06 =
* Improved: Improved UTF-8 encoding of the generated file.

= 1.0.2: 2025-10-29 =
* New: Publish to the WordPress repository.

= 1.0.1: 2025-10-17 =
* Fix: Corrected the display of special characters in browsers.

= 1.0.0: 2025-10-09 =
* New: Initial release