Title: Block Account Create Login by Country GRC
Author: Robert G.
Published: <strong>July 24, 2026</strong>
Last modified: July 24, 2026

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/block-account-create-login-by-country-
grc.svg)

# Block Account Create Login by Country GRC

 By [Robert G.](https://profiles.wordpress.org/robertutzu/)

[Download](https://downloads.wordpress.org/plugin/block-account-create-login-by-country-grc.2.3.9.zip)

 * [Details](https://wordpress.org/plugins/block-account-create-login-by-country-grc/#description)
 * [Reviews](https://wordpress.org/plugins/block-account-create-login-by-country-grc/#reviews)
 *  [Installation](https://wordpress.org/plugins/block-account-create-login-by-country-grc/#installation)
 * [Development](https://wordpress.org/plugins/block-account-create-login-by-country-grc/#developers)

 [Support](https://wordpress.org/support/plugin/block-account-create-login-by-country-grc/)

## Description

Block Account Create Login by Country GRC is a robust WordPress security plugin 
designed to prevent unauthorized logins for specified user roles from restricted
geographic regions. It utilizes local MaxMind GeoLite2 database lookups with a standalone,
zero-dependency binary .mmdb parser for fast offline processing, backed by automatic
daily mirror updates and remote API fallbacks.

#### Key Features

 * Role-Based Country Restriction: Target specific high-privilege or custom user
   roles (e.g., Administrators, Editors, Authors, Shop Managers) and block them 
   from logging in if their IP address maps to a restricted country.
 * Local MaxMind GeoLite2 Database: Includes a built-in, zero-dependency binary .
   mmdb reader parser for high-performance offline local IP geolocation lookups.
 * Automatic Daily Updates: Schedules a background cron event daily to download 
   and refresh the GeoLite2 database mirror.
 * Manual Database Utility: Admin dashboard options to check database file status,
   last-checked timestamps, and trigger manual updates on-demand.
 * Resilient API Fallbacks: Seamless fallback integration with remote geolocation
   services (ip-api.com and ipinfo.io) if local files are missing or unreadable.
 * Built-in Lockout Protection: Automatically registers and permanently allows the
   installer’s country code upon activation to prevent accidental administrative
   lockouts.

## Installation

 1. Upload the plugin folder `block-account-create-login-by-country-grc` to the `/wp-
    content/plugins/` directory, or upload the zip package via the WordPress plugins
    screen.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Upon activation, the plugin automatically provisions the secure upload directory(`/
    wp-content/uploads/block-account-create-login-by-country-grc-svn/`), downloads 
    the initial MaxMind database mirror, and schedules the daily update cron event.
 4. Navigate to **Settings > Country Login Blocker** to customize your security rules.

## FAQ

### Will I accidentally lock myself out of my website?

No. During activation, the plugin automatically detects your current country via
your IP address and permanently permits that country code in the allowed list.

### What happens if the local MaxMind database cannot be downloaded?

The plugin features automatic fallback mechanisms using external API providers (`
ip-api.com` and `ipinfo.io`) to ensure continuous geolocation protection. You can
also manually trigger a download from the settings page.

### Which user roles can be restricted?

You can select any registered user role on your WordPress installation (including
custom roles, Administrator, Editor, Author, Shop Manager, etc.) via the settings
dashboard.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Block Account Create Login by Country GRC” is open source software. The following
people have contributed to this plugin.

Contributors

 *   [ Robert G. ](https://profiles.wordpress.org/robertutzu/)

[Translate “Block Account Create Login by Country GRC” into your language.](https://translate.wordpress.org/projects/wp-plugins/block-account-create-login-by-country-grc)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/block-account-create-login-by-country-grc/),
check out the [SVN repository](https://plugins.svn.wordpress.org/block-account-create-login-by-country-grc/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/block-account-create-login-by-country-grc/)
by [RSS](https://plugins.trac.wordpress.org/log/block-account-create-login-by-country-grc/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.3.9

 * Initial stable release with local MaxMind .mmdb binary parsing, automated daily
   background mirror updates, settings panel, and fallback API integrations.

## Meta

 *  Version **2.3.9**
 *  Last updated **2 months ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.5 or higher **
 *  Tested up to **7.0.6**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [country block](https://wordpress.org/plugins/tags/country-block/)[geolocation](https://wordpress.org/plugins/tags/geolocation/)
   [login restriction](https://wordpress.org/plugins/tags/login-restriction/)[maxmind](https://wordpress.org/plugins/tags/maxmind/)
   [security](https://wordpress.org/plugins/tags/security/)
 *  [Advanced View](https://wordpress.org/plugins/block-account-create-login-by-country-grc/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/block-account-create-login-by-country-grc/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/block-account-create-login-by-country-grc/reviews/)

## Contributors

 *   [ Robert G. ](https://profiles.wordpress.org/robertutzu/)

## Support

Issues resolved in last two months:

     0 out of 1

 [View support forum](https://wordpress.org/support/plugin/block-account-create-login-by-country-grc/)