Controlling WP-AutoShield Features Per Site

Need to allow certain WordPress features (like XML-RPC, cron jobs, file editing, etc.) on specific sites while still keeping WP-AutoShield active for the rest? You can easily do that using the WP-AutoShield exclusion list and manual tools.

How to Exclude Specific Sites from Auto Actions

To prevent WP-AutoShield from enforcing specific settings (like blocking xmlrpc.php) on certain sites, exclude them from the automated daily actions. This means the current security settings will remain, but cPFence will no longer re-apply them if changed manually.

Step 1: Edit the Exclusion List

nano /var/log/cpfenceav/wp-exclude-list.txt
  • To exclude an entire account:
    /var/www/site_id/
  • To exclude a specific WordPress install:
    /var/www/site_id/public_html/blog

Once listed, WP-AutoShield will skip this site during its daily run at 6:10 AM and any manual triggers.

Step 2: Manually Enable or Disable a Feature for That Site

To re-enable or disable a specific feature (like XML-RPC) on the site you excluded, use the UI tool:

  1. Run:
    cpfence --ui
  2. Go to Tools & Utilities → WP-AutoShield Bulk Tools
  3. Apply the change to your chosen site (e.g., re-enable XML-RPC)

This approach works for all WP-AutoShield features like disabling cron, turning off login protection, allowing file editing, and more.

If you'd like a full guide on site exclusions, refer to: How to Exclude Sites from WP-AutoShield and Keep Features Off


Need Further Assistance?

Visit our Knowledgebase or contact our support team for help.

  • 0 Kunder som kunne bruge dette svar
Hjalp dette svar dig?

Relaterede artikler

How to Perform and Export Wordpress Vulnerability Scans with cPFence?

cPFence provides powerful tools for identifying and analyzing Wordpress vulnerabilities. With the...

How to Generate a List of All WordPress Sites on Your Server?

cPFence provides an easy way to generate a comprehensive list of all WordPress sites on your...

How to Quickly Identify Infected WordPress Sites Using cPFence?

cPFence makes it easy to identify and clean infected WordPress sites on your server. Follow the...

How to Use WordPress Auto-Update Features in cPFence?

Managing WordPress sites securely and efficiently is now easier with cPFence's WordPress...

How to Clean an Infected WordPress Site?

Has your WordPress site been infected, and cPFence reported malware or other issues? Don’t worry;...