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.

Geo Block


Block your website or certain pages from being accessed by visitors from selected countries, sates, cities or latitude/longitude/radius.

The geo block works by redirecting blocked visitors away from your website.

IMPORTANT: This plugin uses a client side javascript blocking script and can easily be bypassed if the visitor disables javascript or uses a VPN. Hence this plugin should not be used for 100% blocking and should only be used as a quick solution for redirecting away unwanted traffic.

This plugin is made by Geolify

  • Geolify paid account is required see pricing

  • Get 5000 free trial credits on signup


  • Block by country, state, city, IP address, latitude-longitude-radius

  • Create multiple blocks for different pages


  • Email us
  • Live chat at Geolify


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


  1. Upload geoblock.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to to create and account and setup your blocks

Contributors & Developers

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


Translate “Geo Block” into your language.

Interested in development?

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



  • Working release