Skip to content
Sign in
Yeasin Geo-Blocker icon

Yeasin Geo-Blocker

Block or allow visitors by country, continent or IP.

Not scanned yet WordPress plugin 20 installs

Install in

No install steps yet

Follow the steps on the source page.

Yeasin Geo-Blocker lets you decide who can visit your WordPress site based on where they come from. Block a few countries, or allow only the countries you sell to. Protect your whole site, only wp-admin and the login page, or both.

Lookups use the MaxMind GeoLite2 Country database that ships with the plugin. Nothing is sent to an outside service, there are no rate limits, and a lookup takes microseconds.

Free features

  • Block or allow countries. Use a block-list (everyone except…) or an allow-list (only…).
  • Continents and groups. Pick a whole continent or a group like the EU, EEA, GCC, ASEAN or G7 in one click.
  • IP and CIDR lists. Always block, always allow, or never block specific IPv4/IPv6 addresses and ranges.
  • Choose what to protect. Front-end, wp-admin and the login page, or both.
  • SEO safe. Googlebot, Bingbot, Applebot and other crawlers are verified by reverse DNS before they are let through, so fake bots can’t use a search engine user agent to get in.
  • Spoof-proof IP detection. Proxy headers are only trusted from real Cloudflare servers or your own network, so visitors can’t fake their IP to get past the block.
  • You can’t lock yourself out. Logged-in administrators are never blocked, and the plugin warns you if your own country would be blocked from the login page.
  • Dashboard. Blocked visits per day, top countries and recent blocks, plus a health check.
  • Access logs. Stored in their own database table, kept for as long as you choose (30 days by default) and throttled so an attack can’t flood your database.
  • Block page with live preview. 3 templates, your own title, message, button and footer.
  • IP lookup. Check which country any IP belongs to and whether it would be blocked with your current settings.
  • Fast and light. No jQuery on the front-end, no external requests, works on multisite.

Yeasin Geo-Blocker Pro

Pro adds:

  • Rule Builder with 13 conditions: country, state, city, IP, ASN, page URL, referrer, user agent, device, login state, user role, browser language and VPN. Actions: block, redirect, challenge or allow.
  • State and city blocking and redirects by country, state or city (301/302/307).
  • VPN, proxy, Tor and datacenter blocking, rate limiting, and a REST API / XML-RPC country lock.
  • Login protection: allow logins only from your countries and lock out IPs after failed attempts.
  • WooCommerce: restrict checkout, products, payment gateways and shipping methods by location, and geo pricing per country.
  • Geo content: show or hide Gutenberg blocks and Elementor widgets by country, the [yeasin_geo] shortcode, and per-page restrictions. Works with page caches.
  • Human challenge page (JavaScript or Cloudflare Turnstile), 7 block page templates with your logo, fonts and custom CSS.
  • Secret bypass links, CSV export, weekly email reports, spike alerts and webhooks.
  • GeoLite2 City + ASN databases with weekly automatic updates, a full rule simulator, import/export and WP-CLI.

Upgrading keeps all your settings and logs. Install Pro, activate your license, and Pro takes over and switches the free plugin off for you.

External services

ip-api.com (optional, off by default). If you turn on “Use ip-api.com when the local database can’t find an IP” under Settings, the visitor’s IP address is sent to ip-api.com only when the bundled database has no answer for it. Results are cached for 24 hours. Terms · Privacy policy

Reverse DNS. When “Let verified search engines through” is on and a visitor claims to be a search engine crawler, the plugin asks your server’s DNS resolver for the IP’s host name to verify it. Results are cached for 7 days.

No other data leaves your site. Links to yeasinwp.com in the admin are ordinary links and send nothing unless you click them.

Credits

This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com, licensed under CC BY-SA 4.0.

Written by Joobi from the project's own listing. See the source page

Block countriesCountry blockergeo blockingip blockersecurity
26 Nov 2026
Version 2.0.0 released. Not scanned yet.

2.0.0

  • New: Completely redesigned admin with a Dashboard, Blocking Rules, Block Page, Logs, IP Lookup and Settings pages.
  • New: Block whole continents and groups (EU, EEA, GCC, ASEAN, G7) as well as countries.
  • New: IP lists accept CIDR ranges and IPv6, and a new “Never block” list overrides everything.
  • New: Block page with 3 templates, title, message, button and live preview.
  • New: Dashboard with blocked visits per day, top countries, recent blocks and a health check.
  • New: IP lookup tool that explains why a visitor would be blocked or allowed.
  • New: Warning when your own country would be blocked from the login page, with a one-click fix.
  • New: Logs are stored in their own table with a retention setting, instead of in wp_options.
  • New: Free and Pro now share settings and logs. Activating a Pro license switches the free plugin off automatically.
  • Fix: The local GeoLite2 database was never used because of a wrong file path, so every lookup went to an external API. Lookups are now local and private.
  • Fix: Visitors could fake their IP with an X-Forwarded-For or CF-Connecting-IP header. These headers are now only trusted from Cloudflare or your own network.
  • Fix: In allow-list mode, adding any IP to the IP list made the plugin ignore the selected countries.
  • Fix: Search engine bypass could be abused with a fake user agent. Crawlers are now verified by reverse DNS.
  • Fix: The Save button said “Saved” even when saving failed, and invalid IP lines were stored silently.
  • Tweak: The external API fallback is now off by default and only used if you turn it on.
  • Tweak: Removed jQuery and Select2 from the admin.

1.0.2

  • Feature: Added visual text editors for customizing the blocked message and footer text.
  • Feature: Separated Access Logs into a dedicated tab with pagination (up to 100 recent logs).
  • Enhancement: AJAX settings save and a responsive admin layout.

1.0.0

  • Initial release.
24 Sep 2026Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)