Easily block visitors by country, state or ISP provider. Also, protects your site from spam, login attempts, malicious access & more.
As of April 2026, IP Location Block is a WordPress block plugin with 10K+ active installations and a 4.6/5 rating from 33 reviews. It has been downloaded 196K+ times in total. Requires WordPress 3.7+ and PHP false+. Available on WordPress.org since 2021. Actively maintained — updated within the last month. Downloads are down 22% this week. Top alternative: Spectra Gutenberg Blocks – Website….
IP Location Block plugin that allows you to block access to your site based on the visitor location while also keeping your site safe from malicious attacks. The plugin brings a smart and powerful protection methods such as “WP Metadata Exploit Protection“.
Combined with those methods and IP address geolocation, you’ll be surprised to find a bunch of malicious or undesirable access blocked in the logs of this plugin after several days of installation.
Note: This plugin is based on the now abandoned “IP Geo Block” plugin by tokkonopapa. I fixed various issues and improved the overall codebase.
Native Geo-Location Provider
IP Location Block provides Native Geo-Location Provider that is faster, more secure and provides the needed precision for matchin…
Works as promised, I just have a few problems with the nonce…
This plugin is a lifesaver for managing access by location. Setup was quick and straightforward, and it’s been working perfectly right out of the box. Since installing it, I’ve noticed a significant decrease in suspicious login attempts. If you want an easy, reliable way to block visitors from certain countries, this is an excellent choice. A practical and well-built plugin!
S’ha de ficar com a “mu” a les opcions per a tallar el trànsit que no es vol.
Si el teu target de clients està al Chunguetistan, pots fer una white list de chunguetistan, la teva IP de gestió i la IP del servidor.
D’aquesta manera evites els centenars d’atacs continuats que rebia des de EEUU, Alemanya, Irlanda, França, … i ara gràcies a aquest plugin només rebo visites dels meus clients, que estan a Chunguetistan. 0 bots o crawlers, només visites reals i ventes!
gràcies!
It doesn’t seem to work. Under Settings, in the Matching Rule, Whitelist is selected and it says ‘A request from which the country code or IP address is NOT in the whitelist will be blocked.’ I’ve added my state US:State:Colorado. When spam is submitted, I looked-up their IP address and saw they were from Florida. In the Blacklist matching rule, I added US:State:Florida, and I still get spam from Florida.
This plugin does exactly what I needed—blocks traffic from specific countries without any hassle. Super easy to set up, and it works flawlessly. I’ve seen a big drop in unwanted login attempts since installing it. If you’re looking for a simple and effective way to control access by location, this is the one to go for.
Huge thanks to the developer, Darko G., for creating such a useful plugin!
I am From India, Tamilnadu.
| WordPress | 3.7+ requiredTested up to 7.0 |
| PHP | false+ required |
Release Date – 13 Mar 2026
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.