Title: MID GeoShield Access Manager
Author: midexigner
Published: <strong>2025 年 12 月 22 日</strong>
Last modified: 2025 年 12 月 23 日

---

搜索插件

![](https://s.w.org/plugins/geopattern-icon/mid-geoshield-access-manager.svg)

# MID GeoShield Access Manager

 作者：[midexigner](https://profiles.wordpress.org/midexigner/)

[下载](https://downloads.wordpress.org/plugin/mid-geoshield-access-manager.1.0.zip)

 * [详情](https://cn.wordpress.org/plugins/mid-geoshield-access-manager/#description)
 * [评价](https://cn.wordpress.org/plugins/mid-geoshield-access-manager/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/mid-geoshield-access-manager/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/mid-geoshield-access-manager/#developers)

 [支持](https://wordpress.org/support/plugin/mid-geoshield-access-manager/)

## 描述

GeoShield Access Manager allows you to easily block visitors from specific countries.

You can add or remove multiple countries from the WordPress backend. If a visitor
belongs to a blocked country, the plugin displays a dynamic block page saying:

**“Your country (XX) is blocked from viewing this website.”**

This plugin works with a lightweight IP lookup API and includes:

 * Admin settings menu: **Blocked Countries**
 * Add unlimited country codes (ISO format)
 * Remove countries dynamically
 * Frontend blocking of selected countries
 * Custom block message page (auto-generated)
 * No theme files required
 * No coding skills needed

Perfect for website owners who want to control traffic based on location.

### Features

 * Block users by country
 * Easy backend interface for adding/removing countries
 * Uses free IP geolocation service (ip-api.com)
 * Automatically generates a block page with a friendly message
 * Does not affect admin dashboard access
 * Simple, clean, and lightweight (Hello Dolly style)

### External Services

This plugin uses a third-party IP geolocation service to detect the visitor’s country

in order to apply country-based access restrictions.

Service used:
 ip-api.com (https://ip-api.com)

What data is sent:
 The visitor’s IP address is sent to the service when a page 
is loaded.

When data is sent:
 Only when country-based access rules are enabled.

Why data is sent:
 To determine the visitor’s country for access control purposes.

Service terms and privacy policy:
 https://ip-api.com/docs/legal

## 安装

 1. Upload the plugin folder `geo-country-access-manager` to `/wp-content/plugins/`
 2. Activate the plugin through the **Plugins** menu in WordPress
 3. Go to **Blocked Countries** in the admin menu
 4. Add the ISO country codes you want to block (e.g., IN, PK, CN)
 5. Save changes — done!

## 常见问题

### 1. How do I block a country?

Go to **Blocked Countries**  Add the ISO code  Save.

### 2. Does this plugin slow down my website?

No — it uses a lightweight API and runs efficiently during page load.

### 3. Can I customize the block page?

Yes! The block page is generated dynamically. You can modify the template inside
the plugin.

### 4. Does this plugin block admin area access?

No. Only frontend visitors are blocked.

### 5. Do I need an API key?

No — ip-api.com works without a key.

## 评价

此插件暂无评价。

## 贡献者及开发者

「MID GeoShield Access Manager」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ midexigner ](https://profiles.wordpress.org/midexigner/)

[帮助将「MID GeoShield Access Manager」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/mid-geoshield-access-manager)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/mid-geoshield-access-manager/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/mid-geoshield-access-manager/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/mid-geoshield-access-manager/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/mid-geoshield-access-manager/)。

## 更新日志

#### 1.0

 * Initial release
 * Admin settings page added
 * Country list fields added
 * Frontend block system implemented
 * Dynamic block page added

## 额外信息

 *  版本 **1.0**
 *  最后更新：**6 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/mid-geoshield-access-manager/)
 * 标签
 * [country block](https://cn.wordpress.org/plugins/tags/country-block/)[geo block](https://cn.wordpress.org/plugins/tags/geo-block/)
   [ip block](https://cn.wordpress.org/plugins/tags/ip-block/)[Restriction](https://cn.wordpress.org/plugins/tags/restriction/)
   [security](https://cn.wordpress.org/plugins/tags/security/)
 *  [高级视图](https://cn.wordpress.org/plugins/mid-geoshield-access-manager/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/mid-geoshield-access-manager/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/mid-geoshield-access-manager/reviews/)

## 贡献者

 *   [ midexigner ](https://profiles.wordpress.org/midexigner/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/mid-geoshield-access-manager/)