Simple IP Blocker for Pages

Simple IP Blocker for Pages

Details
View on WordPress

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_unslash and sanitize_text_field) and systematic output escaping with absint() 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-For headers with built-in spoofing warnings.

Details

Plugin code:
simple-ip-blocker-for-pages
Plugin version:
2.3.4
Author:
Outdated:
No
WP version:
6.0 or higher
PHP version:
7.4 or higher
Test up to WP version:
6.9
Total installations:
0
Last updated:
2026-01-04
Rating:
Times rated:
0
access-control
cidr
ip-blocking
page-protection
security