Title: WP Cloudflare Guard
Author: Tang Rufus
Published: <strong>January 3, 2017</strong>
Last modified: April 22, 2017

---

Search plugins

![](https://ps.w.org/wp-cloudflare-guard/assets/banner-772x250.png?rev=1642933)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/wp-cloudflare-guard/assets/icon-256x256.png?rev=1642933)

# WP Cloudflare Guard

 By [Tang Rufus](https://profiles.wordpress.org/tangrufus/)

[Download](https://downloads.wordpress.org/plugin/wp-cloudflare-guard.0.2.0.zip)

 * [Details](https://en-ca.wordpress.org/plugins/wp-cloudflare-guard/#description)
 * [Reviews](https://en-ca.wordpress.org/plugins/wp-cloudflare-guard/#reviews)
 *  [Installation](https://en-ca.wordpress.org/plugins/wp-cloudflare-guard/#installation)
 * [Development](https://en-ca.wordpress.org/plugins/wp-cloudflare-guard/#developers)

 [Support](https://wordpress.org/support/plugin/wp-cloudflare-guard/)

## Description

Connecting WordPress with Cloudflare firewall, protect your WordPress site at DNS
level. Automatically create firewall rules to block dangerous IPs.

#### Features

 * Blacklist IP if attempt to login with bad usernames

#### Integrations (Coming soon as add-ons)

 * [iThemes Security](https://www.typist.tech/go/ithemes-security/)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [WordPress Zero Spam](https://wordpress.org/plugins/zero-spam)

#### How does WP Cloudflare Guard different from Cloudflare’s official plugin?

At the time of writing, Cloudflare’s [official plugin](https://wordpress.org/plugins/cloudflare/)
doesn’t block any IP for WordPress when other plugins discover dangerous activities.
Here comes WPCFG! WPCFG focus on integrating other plugins with Cloudflare.

#### Compatibility

 * Works with Cloudflare’s [official plugin](https://wordpress.org/plugins/cloudflare/)
 * Works with [Sunny (Purging CloudFlare caches for WordPress)](https://wordpress.org/plugins/sunny/)

#### Things You Need to Know

 * You need PHP 7.0 or later
 * You need WordPress 4.7 or later
 * You need a Cloudflare account (free plan is okay)
 * This plugin was not built by [Cloudflare, Inc](https://www.cloudflare.com/)

> If you like the plugin, feel free to [rate it](https://wordpress.org/support/plugin/wp-cloudflare-guard/reviews/#new-post)
> or [donate via PayPal](https://www.typist.tech/donate/wp-cloudflare-guard/). Thanks
> a lot! 🙂

#### For Bloggers

If you have written an article about `WP Cloudflare Guard`, do [let me know](https://www.typist.tech/contact/).
For any questions, shoot me an email at [info@typist.tech](https://en-ca.wordpress.org/plugins/wp-cloudflare-guard/info@typist.tech?output_format=md)

#### For Developers

WP Cloudflare Guard is open source and hosted on [GitHub](https://github.com/TypistTech/wp-cloudflare-guard).
Feel free to make [pull requests](https://github.com/Typisttech/wp-cloudflare-guard/pulls).

#### Who make this plugin?

[Tang Rufus](https://en-ca.wordpress.org/plugins/wp-cloudflare-guard/info@typist.tech?output_format=md),
a freelance developer for hire.
 I make [Typist Tech](https://www.typist.tech/) 
also.

#### Support

To save time so that we can spend it on development, please read the plugin’s [FAQs](https://wordpress.org/plugins/wp-cloudflare-guard/faq/)
first.
 Before requesting support, and ensure that you have updated WP Cloudflare
Guard and WordPress to the latest released version and installed PHP 7 or later.

We hang out in the WordPress [support forum](https://wordpress.org/support/plugin/wp-cloudflare-guard)
for this plugin.

If you know what `GitHub` is, use [GitHub issues](https://github.com/Typisttech/wp-cloudflare-guard/issues)
instead.

## Screenshots

 * [[
 * Cloudflare Settings
 * [[
 * Bad Login Settings
 * [[
 * Cloudflare Firewall Access Rules

## Installation

#### Via WordPress admin dashboard

 1. Log in to your site’s Dashboard (e.g. www.your-domain.com/wp-admin)
 2. Click on the `Plugins` tab in the left panel, then click “Add New”
 3. Search for `WP Cloudflare Guard` and the latest version will appear at the top 
    of the list of results
 4. Install it by clicking the `Install Now` link
 5. When installation finishes, click `Activate Plugin`

#### Via Manual Upload

 1. Download the plugin from [wordpress.org](https://downloads.wordpress.org/plugin/wp-cloudflare-guard.zip)
 2. Unzip it
 3. Upload it to `wp-content/plugins/`
 4. Go to the WordPress plugin menu and activate it

#### Via WP CLI

 1. `$ wp plugin install wp-cloudflare-guard --activate`

## FAQ

  Installation Instructions

#### Via WordPress admin dashboard

 1. Log in to your site’s Dashboard (e.g. www.your-domain.com/wp-admin)
 2. Click on the `Plugins` tab in the left panel, then click “Add New”
 3. Search for `WP Cloudflare Guard` and the latest version will appear at the top 
    of the list of results
 4. Install it by clicking the `Install Now` link
 5. When installation finishes, click `Activate Plugin`

#### Via Manual Upload

 1. Download the plugin from [wordpress.org](https://downloads.wordpress.org/plugin/wp-cloudflare-guard.zip)
 2. Unzip it
 3. Upload it to `wp-content/plugins/`
 4. Go to the WordPress plugin menu and activate it

#### Via WP CLI

 1. `$ wp plugin install wp-cloudflare-guard --activate`

  What version of PHP do I need?

PHP 7 or later.

  Is this plugin written by Cloudflare, Inc.?

No.
 This plugin is a [Typist Tech](https://www.typist.tech) project.

  Can I install WP Cloudflare Guard, Sunny and Cloudflare’s official plugin at the
same time?

Yes, all of them work together without problems.

 * Install [WP Cloudflare Guard](https://wordpress.org/plugins/wp-cloudflare-guard/)
   if you want to protect your site from bad IPs
 * Install [Sunny](https://wordpress.org/plugins/sunny/) if you want to purge CloudFlare’s
   cache automatically
 * Install the [official plugin](https://wordpress.org/plugins/cloudflare/) if you
   can’t see the real IP from visitors

  What if WP Cloudflare Guard blacklisted my IP?

 1. Login [CloudFlare](http://cloudflare.com)
 2. Select your domain
 3. Go `Firewall`
 4. Release you IP under `Access Rules`

  Does this plugin available in my language?

English works out of the box.

Traditional Chinese language pack is available [here](https://translate.wordpress.org/projects/wp-plugins/wp-cloudflare-guard/language-packs).

You can add your own translation at [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/wp-cloudflare-guard).

  How to get support?

Use the WordPress support forum for this plugin at [https://wordpress.org/support/plugin/wp-cloudflare-guard](https://wordpress.org/support/plugin/wp-cloudflare-guard).

Make sure you have read the plugin’s FAQs at [https://wordpress.org/plugins/wp-cloudflare-guard/faq/](https://wordpress.org/plugins/wp-cloudflare-guard/faq/).
And, updated WP Cloudflare Guard and WordPress to the latest released version before
asking questions.

If you know what `GitHub` is, use [GitHub issues](https://github.com/Typisttech/wp-cloudflare-guard/issues)
instead.

  How can I support this plugin?

If you like the plugin, feel free to:

 * Give ot a 5-star review on [WordPress.org](https://wordpress.org/support/plugin/wp-cloudflare-guard/reviews/#new-post)
 * Donate via [PayPal](https://www.typist.tech/donate/wp-cloudflare-guard/). Thanks
   a lot! 🙂
 * Translate it at [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/wp-cloudflare-guard).

Besides, `WP Cloudflare Guard` is open source and hosted on [GitHub](https://github.com/TypistTech/wp-cloudflare-guard).
Feel free to make pull requests.

> Last but not least, you can hire me. Shoot me an email at [info@typist.tech](https://en-ca.wordpress.org/plugins/wp-cloudflare-guard/info@typist.tech?output_format=md)
> or use this [contact form](https://www.typist.tech/contact/).

  What if I want more?

Hire me!

Shoot me an email at [info@typist.tech](https://en-ca.wordpress.org/plugins/wp-cloudflare-guard/info@typist.tech?output_format=md)
or use this [contact form](https://www.typist.tech/contact/).

## Reviews

![](https://secure.gravatar.com/avatar/c2b2175352863b5ba0548d7178ca08fdfdfa5035e40e709b1e59ef4ab76e9db1?
s=60&d=retro&r=g)

### 󠀁[BROKEN:No longer working/supported/fatal errors!](https://wordpress.org/support/topic/brokenno-longer-working-supported-fatal-errors/)󠁿

 [Brian Brown, Ph.D.](https://profiles.wordpress.org/brianbrown/) December 31, 2020

No longer supported. Buggy. Throwing fatal errors. See support forum.

![](https://secure.gravatar.com/avatar/6c070380185554f9c751cc6ec019d474654391ac85b8b0c3bc40a75e79fc169d?
s=60&d=retro&r=g)

### 󠀁[good](https://wordpress.org/support/topic/good-5371/)󠁿

 [balu666](https://profiles.wordpress.org/balu666/) May 10, 2020

good

![](https://secure.gravatar.com/avatar/9affa3db64ee100a63f65533164014293403dd75a0e730a5978f3408f1a821d4?
s=60&d=retro&r=g)

### 󠀁[Quiet Dependable](https://wordpress.org/support/topic/quiet-dependable/)󠁿

 [DoctorThomas](https://profiles.wordpress.org/doctorthomas-1/) December 27, 2017

Runs in the background and never acts up. Solid, professional plugin. Use without
concern; sleep well, knowing your WP site is well protected 24/7. ©2017

 [ Read all 3 reviews ](https://wordpress.org/support/plugin/wp-cloudflare-guard/reviews/)

## Contributors & Developers

“WP Cloudflare Guard” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Tang Rufus ](https://profiles.wordpress.org/tangrufus/)
 *   [ Typist Tech ](https://profiles.wordpress.org/typisttech/)

“WP Cloudflare Guard” has been translated into 5 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/wp-cloudflare-guard/contributors)
for their contributions.

[Translate “WP Cloudflare Guard” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-cloudflare-guard)

### Interested in development?

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

## Changelog

Full change log available at [GitHub](https://github.com/TangRufus/wp-cloudflare-guard/blob/master/CHANGELOG.md)

#### 0.2.0

 * Code refactor

#### 0.1.3

 * Add yoast i18n module
 * Fix PHP undefined notices

#### 0.1.2

 * Better translation support

#### 0.1.1

 * Better translation support

#### 0.1.0

 * First release

## Meta

 *  Version **0.2.0**
 *  Last updated: **9 years ago**
 *  Active installations: **10+**
 *  WordPress Version: ** 4.7 or higher **
 *  Tested up to: **4.7.33**
 *  Language:
 * [Chinese (Hong Kong)](https://zh-hk.wordpress.org/plugins/wp-cloudflare-guard/),
   [Chinese (Taiwan)](https://tw.wordpress.org/plugins/wp-cloudflare-guard/), [English (US)](https://wordpress.org/plugins/wp-cloudflare-guard/),
   [Russian](https://ru.wordpress.org/plugins/wp-cloudflare-guard/), [Spanish (Chile)](https://cl.wordpress.org/plugins/wp-cloudflare-guard/),
   and [Spanish (Spain)](https://es.wordpress.org/plugins/wp-cloudflare-guard/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/wp-cloudflare-guard)
 * Tags:
 * [cloudflare](https://en-ca.wordpress.org/plugins/tags/cloudflare/)[firewall](https://en-ca.wordpress.org/plugins/tags/firewall/)
   [security](https://en-ca.wordpress.org/plugins/tags/security/)[spam](https://en-ca.wordpress.org/plugins/tags/spam/)
 *  [Advanced View](https://en-ca.wordpress.org/plugins/wp-cloudflare-guard/advanced/)

## Ratings

 3.7 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/wp-cloudflare-guard/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wp-cloudflare-guard/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wp-cloudflare-guard/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-cloudflare-guard/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/wp-cloudflare-guard/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-cloudflare-guard/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-cloudflare-guard/reviews/)

## Contributors

 *   [ Tang Rufus ](https://profiles.wordpress.org/tangrufus/)
 *   [ Typist Tech ](https://profiles.wordpress.org/typisttech/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp-cloudflare-guard/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.typist.tech/donate/wp-cloudflare-guard/)