No-Spam IP Geolocation

Contributors: k0nsl, edwardw
Donate link:
Tags: geolocation, anti-spam, ipgeo, question, captcha, anti-bot question, anti-spam question, bots, cloudflare, comments, anti-bot, no-spam
Requires at least: 3.1
Tested up to: 3.4
Stable tag: trunk
License: GPLv3

Uses CloudFlare IP Geolocation and poses the question; what is your country code?


I wanted my own twist and a somewhat more ‘unique’ way to deal with spam so I crafted this simple plugin which is originally based on WP No-Bot Question by edwardw ( – with the exception that my plugin uses the IP Geolocation provided by CloudFlare. So my plugin merely asks “What is your country code” and you’ll have to reply with the correct one. The correct country code is printed on the same page, but this may be removed in future versions – or displayed in some other fashion.

Do keep in mind that you need CloudFlare and IP Geolocation for this plugin to work.

Plugin homepage:


No-Spam IP Geolocation (


This section describes how to install the plugin and get it working.

  1. Upload the `k0nsl_nospam_ipgeo` directory to the `/wp-content/plugins/` directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Enable under “Settings -> No-Spam IP Geolocation”

Frequently Asked Questions

Q: How do I change or disable this plugin’s settings?
A: All options are located in “Settings -> No-Spam IP Geolocation”


See it in action on the commentary form below.


Initial version


Add a Comment

Your email address will not be published. Required fields are marked *