WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by IP2Location v2.44.2

IP2Location Country Blocker

Blocks unwanted visitors from accessing your frontend (blog pages) or backend (admin area) by countries or proxy servers.

IP2Location Country Blocker

The facts

Rating
4.2★ from 127
Active installs
30k+
Price
Free
Last updated
21 Aug 2026
Added
Nov 2013
Requires WP
4.6
Tested up to
WP 7.1
Requires PHP
7.4
Downloads
1,789,144

Our analysis

AI-assisted

IP2Location Country Blocker is a WordPress plugin designed to block unwanted traffic from specific countries or proxy servers. It helps reduce spam and unwanted sign-ups by preventing access to your site’s frontend and backend based on geographical location.

The plugin allows you to block access from multiple countries, country groups, and anonymous proxies. It supports both IPv4 and IPv6 and provides features such as customizable error pages, email notifications for admin access attempts, and statistical reports on blocked traffic. This plugin is suitable for website owners looking to manage traffic and enhance security.

Best for: Website owners who want to control access based on geographic location.

What it does well

  • Blocks access from multiple countries
  • Customizable 403 error page
  • Email notifications for admin access attempts
  • Supports both IPv4 and IPv6
  • Provides statistical reports on blocked traffic

Where it falls short

  • Does not work with any cache plugin
  • Requires manual updates for BIN data if not using web service
  • Limited information on additional features

Verdict

This plugin offers practical features for managing unwanted traffic, but its reliance on external data sources and incompatibility with cache plugins may limit usability for some users.

From the developer

IP2Location's own description of IP2Location Country Blocker, lightly tidied.

This plugin will NOT work if any cache plugin is enabled.

This plugin enables user to block unwanted traffic from accessing your frontend (blog pages) or backend (admin area) by countries or proxy servers. It helps to reduce spam and unwanted sign ups easily by preventing unwanted visitors from browsing a particular page or entire website.

Key Features

  • Allow you to block the access from multiple countries.
  • Allow you to block the access by country grouping, such as EU, APAC, and so on.
  • Allow you to block the access from anonymous proxies.
  • Allow you to block the access by IP ranges.
  • Allow you to whitelist the crawler, for example, Google, Bing, Yandex, and so on, to index your pages (SEO friendly).
  • Supports IPv4 and IPv6
  • Default to 403 error (Permission Denied) display
  • Allow you to customize your own 403 page.
  • Send you an email notification if some one is trying to access your admin area.
  • Provide you statistical report of traffics blocked.

This plugin supports both IP2Location BIN data and web service for IP geolocation lookup. If you would like to use the IP2Location geolocation BIN data, you can easily download and update the BIN data via the plugin settings page. Alternatively, you can also download and update the BIN data file manually using the below links:

IP Geolocation file download:
IP2Location & IP2Proxy LITE database (Free)
IP2Location & IP2Proxy Commercial database (Comprehensive)

To use the IP2Location IP geolocation web service (REST API) for geolocation, you’ll need to register an account at IP2Location.io IP Geolocation API. A free plan is available.

More Information

Please visit us at https://www.ip2location.com

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for maps and locations.

Meta Box

Meta Box plugin is a powerful, professional developer toolkit to create custom meta boxes and custom fields fo...

Free 500k+ installs 4.8★ (165)
WP Go Maps

The easiest to use WordPress map plugin! Create a custom map, map block, store locator or map widget with high...

Free 300k+ installs 4.8★ (3,035)
SlimStat Analytics

Real-time WordPress analytics that stay on your own server: pageviews, outbound links, WooCommerce funnels, al...

Free 70k+ installs 4.8★ (817)
Open User Map

Create custom interactive maps with free Leaflet-based styles, no Google Maps API key, frontend marker submiss...

Free 10k+ installs 5★ (67)
WP Store Locator

An easy to use location management system that enables users to search for nearby physical stores.

Free 50k+ installs 4.8★ (312)
Leaflet Map

Interactive maps and markers on your posts and pages with simple shortcodes.

Free 30k+ installs 4.9★ (58)