Linux 软件免费装
Banner图

HULO Geo-block

开发者 huloglobal
更新时间 2026年11月13日 17:39
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

maintenance mode geolocation country blocking geo-blocking ip allowlist

下载

0.1.1 0.1.2

详情介绍:

HULO Geo-block decides, before WordPress runs its main query, whether a visitor may use your site. Allowed visitors are untouched; refused visitors see a branded block page or are redirected. Works on any WordPress site. If you take payments with the free HULO Payments plugin, payments from blocked visitors are refused before they are charged. Rules Never locks you out SEO-safe Business hours and maintenance Geolocation without external calls Cache-safe Headless storefronts With WooCommerce Geo-block also: Geo-block Pro The optional Pro add-on adds 32 more region presets (EEA, Schengen, EFTA, GCC, ASEAN, LATAM, APAC, Commonwealth and more), rules for 249 states, provinces and regions in 11 countries, a soft block that lets visitors browse with a notice but not buy, an audit log with blocked-traffic stats and a dashboard widget, a rule simulator and a weekly e-mail report. Try it free for 14 days, no card: huloglobal.com/wordpress-plugins/geo-block.

安装:

  1. Install HULO Geo-block from Plugins → Add New, or upload the zip, and activate it.
  2. Go to HULO → Geo-block. If the page says no country source was found, put the site behind a CDN that sends the visitor's country (for example Cloudflare) and set it up on the Settings tab (country headers and trusted proxies), or enable a GeoIP module in your web server. On a WooCommerce shop you can instead add a MaxMind licence key in its Integration settings.
  3. On the Rules tab pick the regions or countries you serve, tick "Apply the country rules to visitors" and save.

屏幕截图:

  • The branded block page a visitor from a country you don't serve sees, with your logo, message and support e-mail.
  • IP allowlist: IPv4 and IPv6 addresses and CIDR ranges that bypass every rule, and "Add my IP".
  • Hours & maintenance: open days and hours in your time zone with a closed message, and a one-off maintenance window with the IPs that may still visit.
  • Settings: country sources, trusted proxies (one tick for Cloudflare), the visitor IP header and crawler exceptions, with a check of your own request at the top.

常见问题:

Can I lock myself out?

No. Administrators are never blocked, wp-admin and the login page are never blocked, and the plugin will not switch on rules that would allow no one.

Do I need WooCommerce?

No. Geo-block works on any WordPress site. If you do run it, Geo-block also guards add-to-cart and checkout and can use the shop's MaxMind geolocation.

What happens when a visitor's country is unknown?

They are allowed; allowlists, business hours and maintenance still work. Set up a country source (see Installation, step 2) so countries are known.

Does it work with page caching?

Yes. Block pages are never cached. If your cache serves HTML without running WordPress, turn on the page-cache helper on the Settings tab. Checkout and payments always re-check the visitor on the server.

Will Google still index my site?

Yes, by default search and link-preview crawlers are let through.

Can a visitor fake their country or pretend to be Googlebot?

Country headers are only believed when the request comes from a proxy you trust, so a visitor cannot send their own. A crawler User-Agent only lets a visitor browse, never buy or pay, and with reverse-DNS verification on, a fake Googlebot or Bingbot is treated like any other visitor.

Does the plugin contact any external service?

No. See "External services" below.

更新日志:

0.1.2 0.1.1 0.1.0