🎉 Use coupon MYXERO to enjoy 20% recurring discount on any plan. View Pricing
Simple IP Blocker for Pages

Simple IP Blocker for Pages

0/5 (0 ratings) — active installs Updated Jan 4, 2026
Settings page with page selection and block message preview

Settings page with page selection and block message preview

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.