Is WP-AutoShield Compatible with MemberPress and MultiSite WordPress?

WP-AutoShield is not compatible with MemberPress, similar membership plugins, or WordPress MultiSite installations. To prevent conflicts or unintended behavior, you need to exclude these sites from WP-AutoShield.

Excluding MemberPress or MultiSite WordPress Installations

To exclude specific sites from WP-AutoShield, edit the exclusion list:

nano /var/log/cpfenceav/wp-exclude-list.txt

Exclusion Options:

  • To exclude all WordPress installations under a specific account, add:
    /var/www/site_id/
  • To exclude a single WordPress installation, add:
    /var/www/site_id/public_html/blog

Once a site is added to the exclusion list, WP-AutoShield will no longer apply its security measures to it during the daily scheduled run at 6:10 AM or when triggered manually.

Important: Excluding a site from WP AutoShield does not automatically undo any security features that were previously applied. To manually revert changes, follow the guide below:

Quickly Excluding MultiSite WordPress Installations

If you're dealing with MultiSite installations and need to exclude them from WP AutoShield, follow these steps:

1- Disable security hardening for all sites to remove any `.htaccess` edits:

cpfence --bulk-disable-wp-hardening

2- Identify all WordPress MultiSite installations using the following command:

find /var/www -name wp-config.php -print0 | xargs -0 grep -l 'WP_ALLOW_MULTISITE' | xargs grep -H 'define.*MULTISITE'

3- Add the detected MultiSite installations to the exclusion list:

nano /var/log/cpfenceav/wp-exclude-list.txt

On the next scheduled run, WP AutoShield will automatically exclude these sites and apply the security measures for all other sites on autopilot.

 


Need Further Assistance?

Visit our Knowledgebase or contact our support team for help.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

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;...