Documentation
ScraperBlock Pro
IP Access Control

IP Access Control

This is a Pro feature. IP access control lets you keep an allowlist and a blocklist of IP addresses.

Enable IP Blocking & Whitelist under Settings → ScraperBlock → Advanced, then fill in the lists. Separate entries with new lines, spaces or commas.

Supported Formats

FormatExampleSupported
Single IPv4 address203.0.113.10✅
IPv4 range (CIDR)203.0.113.0/24✅
Single IPv6 address2001:db8::1✅
IPv6 range (CIDR)2001:db8::/32✗ (ignored)

Allowlist (Whitelist)

IPs on the allowlist skip all ScraperBlock checks. The allowlist always wins over the blocklist. Use it for:

  • your own monitoring and uptime tools
  • SEO tools or partners you've authorised
  • your office or server IP addresses

Blocklist

IPs on the blocklist are blocked with 403 Forbidden and logged with the reason ip_blocked.

💡

Add your own server's IP to the allowlist if you run automated health checks or scripts against your site. Local WordPress loopback requests are allowed automatically.

The visitor's IP is detected from CF-Connecting-IP (Cloudflare), then X-Forwarded-For, then REMOTE_ADDR.