[WordPress] 外掛分享: SF GeoGuard

首頁外掛目錄 › SF GeoGuard
WordPress 外掛 SF GeoGuard 的封面圖片
50+
安裝啟用
★★★★★
5/5 分(1 則評價)
97 天前
最後更新
問題解決
WordPress 6.0+ PHP 8.0+ v1.0.0 上架:2026-01-04

內容簡介

總結:SF GeoGuard 是一個輕量級的基於國家的 WordPress 存取控制外掛,可以透過使用 ISO 國家代碼(例如 US、CA、GB 等)限制網站訪問,有助於減少不必要的流量、機器人活動和伺服器負載。

1. 這個外掛的主要功能有哪些?
- 僅允許選定國家訪問
- 白名單 IP 地址
- 為了更好的性能,緩存 IP 地址至國家查找
- 自定義阻擋訊息(支援 HTML)
- 當地理服務不可用時選擇採取的措施(允許或阻擋)
- 支援後置代理站點(Cloudflare、Nginx)

2. SF GeoGuard 的主要焦點是什麼?
- 專注於依國家限制存取
- 不會修改 WordPress 核心檔案,也不會在前端載入不必要的腳本
- 預設將地理檢查應用於前端請求,您可以在外掛設定中選擇啟用對 wp-admin 和 wp-login.php 的限制

3. 這個外掛與外部服務有何關聯?
- 這個外掛會連接到第三方 IP 地理定位服務,以根據訪客的 IP 地址確定其國家
- 使用的服務:IP-API(https://ip-api.com/)
- 目的:用於檢測訪客的國家,以應用在外掛設定中配置的基於國家的存取規則

4. 資料送往何處?在什麼情況下會傳送資料?
- 訪客 IP 地址會被傳送
- 資料傳送時機:
- 當啟用基於地理位置的存取控制時,在前端頁面載入時
- 只有當無法從本地快取解析訪客 IP 地址時

5. 注意事項與隱私政策:
- 免費的 IP-API 端點不支援 HTTPS,除非使用付費的 HTTPS 方案,否則外掛將使用 IP-API 提供的 HTTP 端點
- 隱私政策和服務條款:https://ip-api.com/docs/legal
- 外掛不會存儲、記錄或共享除 IP 地址外的任何可以識別個人的信息。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「SF GeoGuard」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

SF GeoGuard is a lightweight country-based access control plugin for WordPress.
It allows you to restrict website access by visitor country using simple ISO country codes (US, CA, GB, etc.), helping reduce unwanted traffic, bot activity, and unnecessary server load.
Main features:
* Allow access only from selected countries
* Whitelist IP addresses
* Cache IP → country lookups for better performance
* Customize the block message (HTML supported)
* Choose what happens if the geo service is unavailable (allow or block)
* Support for sites behind reverse proxies (Cloudflare, Nginx)
SF GeoGuard focuses on doing one thing well: restricting access by country.
It does not modify WordPress core files and does not load unnecessary scripts on the frontend.
By default, geo checks are applied only to frontend requests. You can optionally
enable restrictions for wp-admin and wp-login.php in the plugin settings.
External Services
This plugin connects to a third-party IP geolocation service to determine
the visitor’s country based on their IP address.
Service used:
IP-API (https://ip-api.com/)
Purpose:
The service is used to detect the visitor’s country in order to apply
country-based access rules configured in the plugin settings.
Data sent:
– Visitor IP address
When data is sent:
– On frontend page load when geo-based access control is enabled
– Only if the visitor IP address cannot be resolved from the local cache
Note:
The free IP-API endpoint does not support HTTPS. The plugin uses the HTTP
endpoint provided by IP-API unless a paid HTTPS plan is used.
Privacy & Terms:
– Privacy Policy: https://ip-api.com/docs/legal
– Terms of Service: https://ip-api.com/docs/legal
No personally identifiable information other than the IP address
is stored, logged, or shared by the plugin.

文章
Filter
Apply Filters
Mastodon