r/WordpressPlugins • • Sep 30 '26

[FREE] I built a WordPress country-blocking plugin with optional Cloudflare edge protection - now live on WordPress.org

Post image

I’ve been working on this for the past little while and it was just approved and published on WordPress.org, so I figured I’d share it here.

I manage a lot of WordPress sites and kept seeing the same thing: a huge amount of useless traffic, login probing and automated requests coming from countries where many of these sites simply don’t do business.

I wanted a simple way to say “this site serves Canada and the US” without manually maintaining Cloudflare rules on every site.

That turned into Deerwood Country Access.

It can run entirely inside WordPress, or you can connect Cloudflare through OAuth and have supported traffic blocked at the edge before it ever reaches PHP/WordPress.

It currently includes country allow/block rules, Cloudflare integration, rate limiting, repeat-offender detection, trusted IPs, local blocked-request logging, direct-origin protection, and safeguards to help prevent locking yourself out.

One thing I was pretty particular about was making the Cloudflare connection easy. You click Connect, authorize Cloudflare, and the plugin manages its own WAF rule rather than making users create/copy API tokens and build expressions manually.

This originally started as something I wanted for the WordPress sites I manage, but it became useful enough that I decided to clean it up, go through the WordPress.org review process and release it publicly.

It’s literally just gone live, so feedback from other WordPress developers/admins would be appreciated, particularly if you run it with Cloudflare.

WordPress.org:
Deerwood Country Access

And yes, after going through the WordPress.org plugin review process for the first time, I have a newfound appreciation for plugin developers. 😂

0 Upvotes

3 comments sorted by

0

u/NitroSRT Oct 01 '26

I have a question.

1

u/williamqlee Oct 06 '26

whats your question