=== WPGeared LLMs.txt Generator ===
Contributors: wpgeared
Tags: llms.txt, ai, rankmath, yoast, seo
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.2.7
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Author: Aamir Faiz
Author URI: https://wpgeared.com

Auto-generate llms.txt to help AI models like ChatGPT, Claude, Perplexity & Gemini discover and understand your site content.

== Description ==

WPGeared LLMs.txt Generator creates and manages an `llms.txt` file, helping AI models like ChatGPT and Claude better understand your site's content.

= Key Features =

* **Automatic Generation**: Dynamically creates and updates the `/llms.txt` file as your content changes
* **SEO Plugin Integration**: Seamlessly integrates with Yoast SEO, Rank Math, All in One SEO, and SEOPress to respect noindex/nofollow directives
* **AI Crawler Detection**: Monitors and logs visits from AI bots (GPTBot, ClaudeBot, PerplexityBot, etc.)
* **Customizable Content**: Choose which post types, categories, and tags to include
* **Caching System**: Built-in caching for optimal performance
* **User-Friendly Interface**: Intuitive settings page in WordPress admin
* **Security First**: Follows WordPress security best practices

= How It Works =

The plugin automatically generates an `llms.txt` file at your site's root (e.g., `https://yoursite.com/llms.txt`) that includes:

* Site description
* Main navigation links
* Important pages
* Categories and tags
* Recent posts
* Sitemap links

The file is automatically updated whenever you publish, update, or delete content.

= SEO Integration =

The plugin automatically detects and integrates with popular SEO plugins:

* Yoast SEO
* Rank Math
* All in One SEO (AIOSEO)
* SEOPress

Content marked as "noindex" in these plugins will be automatically excluded from the LLMs.txt file.

= AI Crawler Detection =

Track visits from AI crawlers including:

* GPTBot (OpenAI)
* ClaudeBot (Anthropic)
* PerplexityBot
* Google-Extended
* CCBot (Common Crawl)
* And more...

View statistics and recent visits in the admin dashboard.

== Installation ==

= Automatic Installation =

1. Log in to your WordPress admin panel
2. Navigate to Plugins → Add New
3. Search for "WPGeared LLMs.txt Generator"
4. Click "Install Now"
5. Activate the plugin

= Manual Installation =

1. Upload the `wpgeared-llms-txt-generator` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to Settings → WPGeared LLMs.txt Generator to configure

== Frequently Asked Questions ==

= What is llms.txt? =

The `llms.txt` file is similar to `robots.txt` but specifically designed for AI language models. It helps AI systems discover and understand your website's content structure.

= Do I need to manually create the file? =

No! The plugin automatically generates and serves the file at `/llms.txt`. You don't need to create any files manually.

= Will this affect my SEO? =

No, this plugin only helps AI models understand your content. It doesn't affect search engine rankings or traditional SEO.

= Can I customize what's included? =

Yes! You can choose which post types to include, enable/disable categories and tags, exclude specific posts/pages, and add a custom site description.

= Does it work with my SEO plugin? =

Yes! The plugin integrates with Yoast SEO, Rank Math, All in One SEO, and SEOPress to respect your SEO settings.

== Screenshots ==

1. Settings page with all configuration options
2. Preview of generated LLMs.txt content
3. Crawler statistics dashboard
4. SEO plugin integration status

== Changelog ==

= 1.2.2 =
* Renamed: Plugin name and slug for better differentiation and official format compliance.
* Improved: Documentation and core class names updated.

= 1.0.6 =
* Fixed: Plugin Repo compliance - removed deprecated load_plugin_textdomain()
* Fixed: Added proper phpcs ignore comments for safe SQL table name interpolation
* Improved: Code cleanup for WordPress.org submission

= 1.0.5 =
* Fixed: Plugin Repo compliance - prefixed all global variables
* Fixed: Proper nonce unslashing before verification
* Fixed: SQL table name interpolation with proper escaping
* Fixed: Added phpcs ignore comments for WordPress.org compliance

= 1.0.4 =
* Fixed: Plugin Repo compliance issues
* Fixed: Added proper output escaping for date/time display
* Fixed: Replaced date() with gmdate() for timezone-safe date handling
* Improved: WordPress.org translation loading compatibility

= 1.0.3 =
* Redesigned: Complete professional UI overhaul with tabbed interface
* Improved: Modern dashboard with better data visualization
* Added: Real-time preview editor style
* Improved: Better user experience with organized settings

= 1.0.2 =
* Improved: Better UI for post types selection with separate sections for built-in and custom post types
* Improved: Clearer labels and descriptions for custom post types settings

= 1.0.1 =
* Fixed: Added support for custom post types in LLMs.txt output
* Improved: Crawler detection now only runs on frontend requests (better performance)
* Fixed: Custom post types selected in settings are now properly included

= 1.0.0 =
* Initial release
* Automatic LLMs.txt generation
* SEO plugin integration (Yoast, Rank Math, AIOSEO, SEOPress)
* AI crawler detection and logging
* Customizable content inclusion
* Caching system
* Admin settings page
* Security best practices

== Upgrade Notice ==

= 1.0.6 =
This version removes deprecated code and improves WordPress.org Plugin Repo compliance.

= 1.0.5 =
This version includes important Plugin Repo compliance fixes for WordPress.org submission.

= 1.0.4 =
This version includes important fixes for WordPress.org plugin repository compliance and improved security.

= 1.0.3 =
Major UI update! We've completely redesigned the admin dashboard for a professional, easier-to-use experience.

= 1.0.2 =
This version improves the post types selection UI to make custom post types more visible.

= 1.0.1 =
This version fixes custom post types support and improves crawler detection performance.

= 1.0.0 =
Initial release of LLMs.txt Generator.

