Simple IP Blocker for Pages
·
Block specific IP addresses or CIDR ranges from accessing selected WordPress pages with secure configuration.
Simple IP Blocker for Pages is a lightweight security plugin to restrict access to specific pages based on visitor IP addresses.
It features a secure administration interface and supports custom block messages with safe HTML (via wp_kses_post) for secure personalization.
Key Features
- Flexible IP Blocking: Block individual IPv4 addresses or entire ranges using CIDR notation (e.g., 192.168.1.0/24).
- Page-Level Protection: Select specific pages to protect while keeping the rest of your site accessible.
- Enhanced Security: Implements strict manual sanitization (
wp_unslashandsanitize_text_field) and systematic output escaping withabsint()for all numeric values. - Custom Block Messages: Display personalized messages with safe HTML support or redirect blocked visitors.
- Self-Blocking Prevention: Built-in safeguard prevents administrators from accidentally locking themselves out.
- User-Friendly Interface: View blocked IPs list directly on the settings page with easy navigation to full management interface.
- Real-Time Feedback: Success and warning messages for all actions (add, delete, save settings).
- CDN & Proxy Support: Compatible with Cloudflare and proxies via
X-Forwarded-Forheaders with built-in spoofing warnings.
