Linux 软件免费装
Banner图

Yeasin Geo-Blocker

开发者 yeasin1
更新时间 2026年11月26日 23:40
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

security ip blocker block countries geo blocking country blocker

下载

1.0.0 1.0.2 2.0.0

详情介绍:

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 Yeasin Geo-Blocker Pro Pro adds: Upgrading keeps all your settings and logs. Install Pro, activate your license, and Pro takes over and switches the free plugin off for you.

安装:

  1. Install the plugin from Plugins → Add New, or upload the yeasin-geo-blocker folder to /wp-content/plugins/.
  2. Activate it.
  3. Go to Geo-Blocker → Blocking Rules, pick your countries and turn geo-blocking on.
  4. Optional: style the block page under Geo-Blocker → Block Page.

屏幕截图:

  • Blocking Rules: block-list or allow-list, continents and groups, IP lists.
  • Block Page editor with live desktop and mobile preview.
  • Access logs.
  • IP lookup with the reason for the decision.
  • Free vs Pro comparison.

升级注意事项:

2.0.0 Big update: new admin, continents and groups, CIDR ranges, a styled block page, logs in their own table, and important fixes to IP detection and local lookups. Your settings are migrated automatically.

常见问题:

Will I lock myself out?

No. Logged-in administrators are never blocked. If your own country would be blocked from the login page, the plugin shows a warning and a one-click button to add your IP to the "Never block" list.

Does it slow my site down?

No. Country lookups run against a local database file in microseconds, and the plugin does nothing at all until you turn geo-blocking on.

My site is behind Cloudflare. Will it see the real visitor IP?

Yes. Cloudflare's CF-Connecting-IP header is used when the request really comes from a Cloudflare server. You can check the detected IP under Geo-Blocker → Settings.

I use a page cache plugin.

Geo-blocking runs before WordPress renders a page, but a page cache can serve a stored copy before the plugin runs. Set your cache to skip blocked countries, or use Pro's cache-safe mode, which works with every page cache.

Does upgrading to Pro keep my settings?

Yes. Free and Pro use the same settings and the same log table. Keep the free plugin active until your Pro license is activated; then Pro takes over and switches the free plugin off.

How do I update the country database?

The database is updated with each plugin release. Pro can download the GeoLite2 City and ASN databases with your free MaxMind key and keep them updated every week.

更新日志:

2.0.0 1.0.2 1.0.0