=== WorkflowDone Geo Blocker ===
Contributors: workflowdone
Tags: geoblocking, country blocking, ip blocking, security, geo restriction
Requires at least: 5.0
Tested up to: 6.9.1
Requires PHP: 7.2
Stable tag: 1.0.6
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Block website access based on visitor's geographical location. Simple and effective geo-blocking for WordPress.

== Description ==

**WorkflowDone Geo Blocker** is a simple yet powerful WordPress plugin that allows you to block access to your website based on visitors' geographical locations. Perfect for compliance, content licensing, or security purposes.

= Features =

* **Country Blocking** - Block visitors from specific countries
* **IP Whitelisting** - Allow specific IP addresses regardless of country
* **SEO-Friendly** - Automatically allows major search engine crawlers
* **Customizable Block Page** - Customize the message shown to blocked visitors
* **IP Caching** - Efficient caching to minimize geo-lookup requests
* **Easy Setup** - Simple configuration with no technical knowledge required

= How It Works =

1. Select which countries you want to block
2. Optionally add IP addresses that should always be allowed
3. Enable geo-blocking
4. Visitors from blocked countries see a friendly block page

= Become a Supporter =

Love this plugin? Become a supporter and unlock all features:

* **Whitelist Mode** - Allow only specific countries instead of blocking
* **Admin Bypass** - Skip geo-blocking for logged-in administrators
* **Access Logging** - Log blocked access attempts
* **IP Ranges (CIDR)** - Whitelist entire IP ranges
* **Custom Block Pages** - Create custom HTML pages or redirects
* **Support Email** - Display contact email on block page
* **URL Exclusions** - Skip blocking for specific URLs
* **Custom Crawler Rules** - Add your own crawler patterns
* **Priority Support**

One-time payment of $10, lifetime access!

[Become a Supporter](https://workflowdone.com/product/advanced-geo-blocker-pro/)

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/workflowdone-geo-blocker/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Navigate to 'Geo Blocker' in the WordPress admin menu
4. Select countries to block and configure settings
5. Enable geo-blocking and save

== Frequently Asked Questions ==

= Does this affect SEO? =

No! The plugin automatically allows all major search engine crawlers (Google, Bing, Yahoo, etc.), so your SEO won't be affected.

= Can I allow specific users while blocking their country? =

Yes! You can whitelist individual IP addresses which will override country blocking.

= Does it work with CDN services like Cloudflare? =

Yes! The plugin automatically detects the real visitor IP behind proxies and CDN services.

= What geo-location services are used? =

The plugin uses free geo-location APIs (ip-api.com and ipinfo.io) to determine visitor locations. No API key required.

= Will blocked visitors see an error? =

No, they see a customizable, friendly block page explaining that access is restricted from their location.

== Screenshots ==

1. Settings page - Configure blocking and general options
2. Country selection - Choose which countries to block
3. IP Whitelist - Add allowed IP addresses
4. Block page customization - Customize the message for blocked visitors

== Changelog ==

= 1.0.0 =
* Initial release
* Country blacklist mode
* IP whitelisting
* SEO crawler detection
* Customizable block page
* IP caching system

== Upgrade Notice ==

= 1.0.0 =
Initial release of WorkflowDone Geo Blocker.

== Privacy Policy ==

This plugin uses third-party geo-location services to determine visitor countries:
* ip-api.com - [Privacy Policy](https://ip-api.com/docs/legal)
* ipinfo.io - [Privacy Policy](https://ipinfo.io/privacy-policy)

Only IP addresses are sent to these services to determine the country. No other personal data is transmitted.

The plugin caches geo-location results locally to minimize external requests.

== Support ==

For support, please contact: support@workflowdone.com

Website: [workflowdone.com](https://workflowdone.com)
