=== AI Scraping Protector ===
Contributors: dba6060, mmaumio
Tags: security, content-protection, anti-scraping, ai-protection, bot-blocker
Tested up to: 6.8.2
Stable tag: 1.1.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Protect your WordPress content from AI scraping bots with advanced detection, rate limiting, and security measures.

== Description ==
AI Scraping Protector helps safeguard your WordPress site from automated AI content scraping tools like ChatGPT, Claude, and other aggressive crawlers.  

The plugin combines **bot detection, IP blocking, rate limiting, and content protection** to ensure your valuable content stays safe while keeping the site experience smooth for legitimate visitors.

**Key Features:**
* **Content Protection** – Prevents automated tools from copying your posts/pages.  
* **Advanced Bot Detection** – Identifies AI scrapers and malicious bots via user agent patterns and IP ranges.  
* **Rate Limiting** – Two-tier protection:  
  - Burst: 30 requests per minute  
  - Standard: 1000 requests per hour  
* **Security Headers** – Adds multiple HTTP headers (X-Frame-Options, X-Robots-Tag, etc.) for extra protection.  
* **Per-Post/Page Control** – Enable or disable protection individually.  
* **Extensive Bot Network Blocking** – Includes Google, Microsoft, and other known scraper networks.  
* **Admin Tools** – Logging, status reporting, and reset options.  

== Installation ==
1. Upload the `ai-scraping-protector` folder to the `/wp-content/plugins/` directory.  
2. Activate the plugin through the **Plugins** menu in WordPress.  
3. Go to **AI Scraping Protector** in the admin menu to configure settings.  

== Frequently Asked Questions ==

= Is this plugin GDPR compliant? =  
Yes. This plugin does not collect, store, or share personal data.  

= Will it block legitimate users? =  
No. The plugin is designed to allow normal visitors while blocking automated scraping tools.  

= Which bots are detected? =  
AI scrapers like ChatGPT, Claude, and various AI training crawlers, along with Googlebot, Bingbot, and many others.  

= How does rate limiting work? =  
The plugin limits excessive requests per IP using a burst and standard protection system, reducing server overload risks.  

== Screenshots ==
1. Plugin installed and activated  
2. Settings page overview  
3. Individual post/page protection toggle  

== Changelog ==

= 1.1.0 =  
* Fixed version consistency (AISP_VERSION constant updated).  
* Removed reference to missing JavaScript file.  
* Enhanced bot detection with 20+ AI bot patterns.  
* Added IP range blocking for Google, Microsoft, and other bot networks.  
* Introduced suspicious behavior detection.  
* Improved rate limiting with two-tier burst/standard system.  
* Added admin-only reset tools with detailed logging.  
* Improved component initialization and error handling.  
* Updated documentation and improved code quality with WordPress coding standards.  

= 1.0.0 =  
* Initial release.  
* Added content protection.  
* Implemented security headers.  
* Introduced basic rate limiting.  

== Upgrade Notice ==

= 1.1.0 =  
This update improves bot detection, adds IP blocking, and introduces two-tier rate limiting. Highly recommended for stronger protection against AI scrapers.  

== Privacy Policy ==
This plugin does not collect or process personal data of any kind.
