Skip to content
WordPress.org

Ch’ti

  • Themes
  • Plugins
  • About
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

GeoGuard WP – GRC

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

GeoGuard WP – GRC

By Robert G.
Download
  • Details
  • Reviews
  • Development
Support

Description

GeoGuard WP – GRC is a lightweight, high-performance security plugin designed to protect your WordPress administrative dashboard and user registration endpoints from unauthorized geographic login and sign-up attempts. By restricting configurable user roles based on visitor country origin, you drastically reduce brute-force and credential-stuffing attacks originating from outside your trusted operating regions.

Key Features

  • Zero-Dependency Local MaxMind Parser: Includes a built-in custom binary .mmdb parser capable of reading MaxMind GeoLite2-Country databases directly without requiring external PHP extensions like geoip or maxminddb.
  • Intuitive Checkbox Selection: Easily select allowed countries and targeted user roles using clean, scrollable checkbox interface lists in the WordPress backend settings panel.
  • Flexible Action Modes: Choose whether to block login requests, block account creations/registrations, block both, or temporarily disable restrictions entirely.
  • Automatic Daily Database Updates: Schedules a daily cron event to automatically mirror and update the latest GeoLite2 country database.
  • Manual Database Download: Allows administrators to fetch or refresh the database instantly from the settings panel.
  • Smart IP Detection: Inspects proxy headers while ensuring protection against header spoofing and filtering out private/reserved IP ranges.
  • Fail-Safe Protection: Permanently locks your installer’s country code into the permitted checkbox list, preventing accidental lockouts.

Reviews

Awesome and Lightweight

peterborg September 25, 2026
Awesome plugin for just filtering country logins. Well done!
Read all 1 review

Contributors & Developers

“GeoGuard WP – GRC” is open source software. The following people have contributed to this plugin.

Contributors
  • Robert G.

Translate “GeoGuard WP – GRC” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

2.5.0

  • Renamed plugin to GeoGuard WP – GRC.
  • Replaced multi-select dropdowns with clean, scrollable checkbox lists for both countries and user roles.
  • Added a new restriction action setting allowing administrators to independently choose whether to block logins, block account registrations, or block both.

2.4.0

  • Added granular settings to choose which specific user roles are subjected to country login restrictions.

2.3.2

  • Initial public release with native binary .mmdb parser, automated daily cron mirror updates, and fail-safe installer country protection.

Meta

  • Version 2.5.0
  • Last updated 2 months ago
  • Active installations 30+
  • WordPress version 6.5 or higher
  • Tested up to 7.0.6
  • PHP version 7.4 or higher
  • Language
    English (US)
  • Tags
    countryfirewallloginregistrationsecurity
  • Advanced View

Ratings

5 out of 5 stars.
  • 1 5-star review 5 stars 1
  • 0 4-star reviews 4 stars 0
  • 0 3-star reviews 3 stars 0
  • 0 2-star reviews 2 stars 0
  • 0 1-star reviews 1 star 0

Your review

See all reviews

Contributors

  • Robert G.

Support

Got something to say? Need help?

View support forum

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Support
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Ch’ti

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Code is Poetry.
The WordPress® trademark is the intellectual property of the WordPress Foundation.