Version 0.0.0 [Alpha]

Activate
Secure Mode for WordPress.

Redirect public traffic to a static landing page. Keep the backend alive for admins. API ready. Failsafe protected. The definitive tool for headless migrations and emergency maintenance.

Download Plugin View Documentation →

Perimeter Defense.

Control exactly who enters your site while you work on the engine.

Blue/Green Routing

Configure weighted destinations to split traffic between your old site, new static frontend, or a maintenance page.

https://new-site.com | 80%
https://old-site.com | 20%

JWT & IP Fencing

Allow developers and headless clients through via Authorization: Bearer tokens or CIDR allowlists.

192.168.1.0/24
Authorization: Bearer <token>

Failsafe Watchdog

Prevent accidental lockouts. If no admin activity is detected for 24 hours, the Perimeter automatically disengages.

  • Admin Heartbeat Tracking
  • Emergency Email Trigger
  • Auto-Open Protocols

Strict Backend Mode.

When enabled, WP2 Perimeter enforces a strict separation of concerns.

Logged-in administrators attempting to visit the frontend are automatically redirected to the dashboard, ensuring no accidental leakage of "preview" content to the public URL.

Perfect for:

  • Headless WordPress setups
  • High-security maintenance windows
  • Staging to Production cutovers
See Configuration
// wp2-perimeter configuration { "enabled": true, "status_code": 302, "redirect_on_root": true, "destinations": [ { "url": "https://headless-frontend.vercel.app", "weight": 100, "label": "Production" } ], "whitelisted": [ "wp-json/*", "wp-admin/*", "hooks/webhooks" ], "bypass_roles": [ "administrator", "editor" ] }
Internal Tooling

Health & Diagnostics.

Includes a built-in "Path Simulator" to test your whitelist rules before going live.

🛡️ Perimeter Status: ACTIVE
Traffic Destination https://mysite.com (100%)
Admin Last Seen 2 mins ago
Lockout Countdown 23h 58m remaining
JWT Secret Defined in wp-config.php ✅
Path Simulator
✅ ALLOWED: Matches wildcard rule 'wp-json/*'

Ready to lock it down?

Get WP2 Perimeter