
內容簡介
IP Whitelist 讓管理員能夠限制對 WordPress 控制台和登入頁面的訪問,只允許信任的 IP 地址。未在白名單上的訪客將收到 403 "拒絕訪問" 的回應,有效防止暴力破解機器人和好奇的陌生人進入 /wp-admin 和 /wp-login.php。
【主要功能】
• 保護 /wp-admin 和 /wp-login.php
• 支援單一 IPv4 和 IPv6 地址及 CIDR 範圍
• 自訂拒絕訪問訊息
• 一鍵將當前 IP 加入白名單
• 允許選擇訪客 IP 的來源
外掛標籤
開發者團隊
原文外掛簡介
IP Whitelist lets administrators limit access to the WordPress dashboard and login page to a list of trusted IP addresses. Any visitor whose address is not on the list receives a 403 “Access Denied” response, which keeps brute-force bots and curious strangers away from /wp-admin and /wp-login.php without touching the public site.
Features
Protects /wp-admin and /wp-login.php; the login protection can be switched off separately.
Accepts single IPv4 and IPv6 addresses and CIDR ranges such as 203.0.113.0/24 or 2001:db8::/32.
Optional comments after # on each line so you can label entries.
Shows the IP address WordPress sees for you, with a one-click “Add to list” button.
Lock-out guard: the whitelist refuses to enable itself if your own address is not on the list.
Choose where the visitor IP comes from: the connection address (default) or the X-Forwarded-For, X-Real-IP or CF-Connecting-IP header when the site runs behind a proxy, load balancer or Cloudflare. Headers are never trusted unless you select them.
Customisable access-denied message.
Public site features keep working: AJAX (admin-ajax.php), cron, WP-CLI, front-end admin-post.php submissions and password-protected post forms are not blocked.
Emergency bypass: define AWESOFT_IP_WHITELIST_DISABLE in wp-config.php to switch the whitelist off without database access.
awesoft_ip_whitelist_allowed filter for developers who need custom allow rules.
Removes all of its options when the plugin is deleted.
