Skip to main content
Firewall & EdgeModule: custom-rulesWP 7.0+ & PHP 8.3+

Custom WAF Rules Studio & Next-Gen Track B Guard

Visual Rule Builder, Next-Gen Track B Guest admin-ajax.php / admin-post.php / REST Action Matrix Guard, and developer webcare-policy.php controls.

Why this matters for site stability & defense:

Gives both no-code site owners and developers exact control over custom endpoints, AJAX actions, and parameters.

Open Directly in Your WordPress Admin

Open Custom Rules Studio

Create visual WAF rules and inspect Next-Gen Track B action guards.

/wp-admin/admin.php?page=webcare-pro-firewall&tab=custom-rules

Step-by-Step Configuration & Verification

3 Steps
  1. 1Open Firewall -> Custom Rules Studio to build visual conditions (URI, method, header, query, body, country, role).
  2. 2Review Track B Action Matrix rules for unauthenticated admin-ajax.php and REST routes.
  3. 3For code-first GitOps control, define policies in wp-content/webcare-policy.php.

Reference Configuration / CLI

php
custom-rules reference snippet
// wp-content/webcare-policy.php — Example developer-mode policy hook
<?php
declare(strict_types=1);

return [
    'allow_routes' => ['/wp-json/custom-webhook/v1/notify'],
];

Architecture & Engineering Notes

Dual-Mode Customization

Every rule can be managed either in the No-Code Visual Rule Builder or via Developer Code-First Controls (wp-content/webcare-policy.php and wp webcare waf).

Related Security Documentation

Direct 1-on-1 Assistance

Connect directly with Mir Alamin (WebCare Pro)

Need help tuning Nginx, Cloudflare 4+1 rules, or emergency malware remediation? Reach out directly for 1-on-1 senior engineering support.

Contact Mir Alamin