WordPress.org

English (Australia)

  • Themes
  • Plugins
  • News
  • About
  • Events
  • Get Involved
  • Glossary
  • Team (O2)
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

CloudGuard

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

CloudGuard

By pipdig
Download
  • Details
  • Reviews
  • Installation
  • Development
Support

Description

Use the power of the cloud and a global CDN to restrict access to your login page.

CloudGuard brings global and cloud driven protection to your login page. Using Cloudflare’s free Geolocation service, this super lightweight plugin restricts access to your login page, allowing access to only your chosen countries. This means that any login attempts from the rest of the world will be automatically blocked.

Additionally, this plugin tracks any unauthorized login attempts and displays them on a world map in your dashboard.

Main Features

  • Protect your login page globally.
  • Reduce server load.
  • Country based IP ranges constantly updated by Cloudflare.
  • Monitor login attempts via your dashboard.
  • Block access to the login page or redirect to a URL.

Why Cloudflare’s Geolocation?

There are other plugins which can restrict your login page by geographic location. However, these plugins use your server to detect the IP and compare this to a geographic location. This adds extra overhead to your site, takes up space on your server, and requires frequent updates to keep the IP list relevant.

CloudGuard is different. Since we leverage Cloudflare’s geolocation service, your server simply has to read the data, rather than compute and store it locally. Cloudflare does the grunt work, leaving your site safe, secure and optimized.

Note: This plugin requires that you have an account (including the free option) on Cloudflare with Geolocation enabled.

This free plugin is brought to you by pipdig

Please consider leaving a 5-star rating if this plugin has helped you.

Screenshots

  • Track login attempts from your dashboard.
  • Global view of login attempts.

Installation

  1. Go to the “Plugins > Add New” page in your WordPress dashboard.
  2. Search for “CloudGuard” and click the install button.
  3. Once installed, go to “Settings > CloudGuard” to complete the setup.

Reviews

Does What It Says Good Plugin

DolphinGuy May 19, 2024 1 reply
Does What It Says Good Plugin

Just works, great idea, simple execution

marios88 January 12, 2024
Just works, great idea, simple execution

Stops our server resources being wasted

seanchk October 11, 2023
We only service customers from the US and Canada, so we don’t want to allow people from other locations to access the login page.This works great!

Easy setting and work great for me

Bhisittha November 14, 2022
Just enter two letters for the country code on the setting page. This plugin keeps my sites away from more than a thousand hits from attackers! Thank you.

Perfect

mahoney April 5, 2022
Works very well along with WordFence

Great plugin

apaunovski September 29, 2022
This plugin dramatically increases my website’s security and keeps bad actors out of my admin area. I have a local business. My website does not target international audiences. It does not allow user registration. By restricting login possibilities only to my home country, I block 99% of attackers from my site.
Read all 28 reviews

Contributors & Developers

“CloudGuard” is open source software. The following people have contributed to this plugin.

Contributors
  • pipdig

“CloudGuard” has been translated into 4 locales. Thank you to the translators for their contributions.

Translate “CloudGuard” into your language.

Interested in development?

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

Changelog

1.4.6

  • Fix broken link to country codes on plugin settings page.

1.4.5

  • Account for TOR location from Cloudflare (Props @pathankp)

1.4.4

  • Account for “unknown” locations from Cloudflare.

1.4.3

  • Block login attempts via XMLRPC, unless Jetpack is installed.
  • WP 5.6 compatibility.

1.4.2

  • Fix flag image sources.

1.4.1

  • Add nonce check to “clear stats” button.
  • Load assets locally rather than Cloudflare CDN.

1.4.0

  • Option to redirect blocked countries to a URL.

1.3.3

  • Fix issue with new lower case geolocation country codes from Cloudflare.

1.3.1

  • No longer requires Cloudflare plugin to operate.
  • Update country list.
  • Minor refactoring.

1.3

  • Add your own custom message if someone is blocked.

1.2

  • Add option to reset stats in dashboard widget.

1.1

  • Track login attempts on a global map.

1.0

  • Initial release!

Meta

  • Version 1.4.6
  • Last updated 4 weeks ago
  • Active installations 1,000+
  • WordPress Version 4.9 or higher
  • Tested up to 6.8.1
  • Languages

    English (US), Russian, Spanish (Spain), Spanish (Venezuela), and Ukrainian.

    Translate into your language

  • Tags
    cloudflaregeolocationiploginsecurity
  • Advanced View

Ratings

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

Add my review

See all reviews

Contributors

  • pipdig

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 ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

English (Australia)

  • 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