[WordPress] 外掛分享: Geo Blocker – Control Site Access by Region and IP

首頁外掛目錄 › Geo Blocker – Control Site Access by Region and IP
WordPress 外掛 Geo Blocker – Control Site Access by Region and IP 的封面圖片
700+
安裝啟用
★★★★★
5/5 分(1 則評價)
329 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.2+ v1.0.0 上架:2025-05-17

內容簡介

總結:Geo Blocker 是一個強大的 WordPress 外掛,讓您可以根據訪客的國家和 IP 來控制訪問權限、追蹤訪問嘗試和查看分析報告,輕鬆保持控制。

問題與答案:
1. Geo Blocker 提供了什麼樣的存取控制功能?
- 答案:它可以封鎖特定國家的訪問,或者只允許特定國家訪問您的網站。

2. 外掛有哪些智慧封鎖操作?
- 答案:顯示自定義訊息、重新導向到 URL、或者發送 HTTP 403 Forbidden 響應。

3. 描述 Geo Blocker 的視覺化國家選擇器有什麼特色?
- 答案:它有國旗圖示和搜尋欄,可快速定位目標,並且可以按洲(非洲、亞洲、歐洲等)進行篩選,方便一鍵全選/取消全選。

4. 請簡要說明 Geo Blocker 的分析儀表板提供了哪些功能?
- 答案:它包含總訪問次數、封鎖次數、IP 數量的摘要卡、每小時的圖表以即時獲取資訊,可按日期範圍和資料類型(訪問次數、獨立 IP 等)進行篩選。

5. Geo Blocker 的特色之一是什麼?如何確保管理員不會被鎖定在系統外?
- 答案:外掛具備管理員安全旁路功能,包括一個特殊的 URL,以繞過鎖定,讓您隨時可以登入後台。

6. 外掛如何進行數據導出和日誌管理?
- 答案:您可以以 CSV 或 JSON 格式導出日誌,僅需點擊一下即可清除日誌,還可以在使用者介面中排序和搜索日誌。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Geo Blocker – Control Site Access by Region and IP」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

🔐 Block or allow visitors by country. Track access attempts. View analytics. Stay in control — effortlessly.
🧠 Description
Geo Blocker gives you full control over who can access your WordPress site — based on visitor country and IP. Whether you’re protecting content, reducing attack surface, or managing regional access, this plugin does it with precision and clarity.
🎯 Designed for performance, security, and ease of use.
📊 Built-in analytics and access logs.
🧭 Never get locked out — admin-safe bypass included.
🚀 Features
✅ Access Control That Makes Sense

Block Selected Countries – deny access to specific regions
Allow Selected Countries – restrict site only to approved countries

🧩 Smart Blocking Actions

📜 Show custom message
🔁 Redirect to a URL
🚫 Send HTTP 403 Forbidden response

🌐 Visual Country Selector

Flag icons & search bar for quick targeting
Filter by continent (Africa, Asia, Europe, etc.)
One-click select/deselect all

📈 Analytics Dashboard

Summary cards: total visits, blocks, IPs
Hourly charts for real-time insights
Filter by date range & data type (accesses, unique IPs, etc.)

📋 Detailed Logs

See IP, country, URL, status, user agent
Filters out common junk (favicon, robots.txt)
Admin visits are auto-ignored to reduce noise

🛠️ Admin-Proof Bypass URL

Special URL with bypass parameter to access login anytime
Prevents accidental lockouts

🔄 Data Export & Log Management

Export logs in CSV or JSON
Clear logs with a single click
Sort & search logs in the UI

🌐 External Services
This plugin uses a third-party API to determine the visitor’s country based on their IP address.

Service used: IPWho.is
Purpose: To perform IP geolocation and detect the country of each visitor, allowing the plugin to block or allow access accordingly.
Data sent: The visitor’s IP address is sent to the IPWho.is API on page load when geo-blocking is active.
Terms of Service: https://ipwhois.io/terms
Privacy Policy: https://ipwhois.io/privacy

🖥️ Screenshots

📊 Dashboard Overview – See country blocks, allowed hits & total attempts
🔧 Blocking Rules – Choose block mode, action type, and targets. Enable or disable countries visually
📉 Analytics Graphs – View access by time, state, and IP 5. 📑 Logs Table – Deep insights with full logs of visitor attempts. Export CSV/JSON logs with one click

📦 Installation

Upload the plugin folder to /wp-content/plugins/geo-blocker
Activate via Plugins → Installed Plugins
Go to Settings → Geo Blocker
Enable Geo Blocking using the toggle
Choose between block or allow mode
Select countries using the visual interface
Pick your blocking action (message, redirect, or 403)
Save settings — done!

❓ Frequently Asked Questions
How does Geo Blocker detect country?
It uses the reliable IpWhoIs API to fetch country data based on the visitor’s IP.
Will it slow down my site?
Nope. It’s optimized with transient caching and smart triggers — no unnecessary lookups.
Can I lock myself out?
No. There’s a login bypass URL generated for administrators — shown right on the dashboard.
Can I block specific pages?
Not yet — current version works site-wide. Per-page rules may come in a future update.
Can I export visitor logs?
Yes. Logs can be exported in CSV or JSON format directly from the Logs tab.
Does it work with caching plugins?
Yes, but you may need to exclude the plugin’s logic from caching. Dynamic geo checks should not be cached.
🗂️ Changelog
1.0.0

🎉 Initial release with all core features

🛡️ Additional Notes
Emergency Bypass
Every admin gets a custom bypass link to avoid accidental lockouts. It’s always visible in the dashboard.
Blocking Actions
Choose the experience blocked users receive:
– Custom message
– Redirect to another URL
– Send 403 Forbidden header
Logs & Privacy
Logs are stored locally in your WordPress database. The plugin sends only the visitor’s IP to IPWho.is — no personally identifiable information is shared or stored externally.
💡 Enjoying Geo Blocker? Try Our Other Free Plugins
Looking for even more control and peace of mind? Check out our other tools:
🔕 Notification Blocker – Hide annoying plugin notices from your dashboard without hacking core files.
🛡️ Fortress Login Pro – Obscure your login page, add brute-force protection, and block unauthorized access attempts with ease.
If you like Geo Blocker, you’ll probably find these just as helpful. Try them out!

延伸相關外掛

文章
Filter
Apply Filters
Mastodon