cPFence allows you to exclude known-safe entries from the daily WordPress database malware scan. This is helpful when you have custom code or safe data that gets flagged repeatedly.
Whitelist Specific Database Entries
To exclude a specific database entry from scanning, add the exact string you want to whitelist to this file:
/opt/cpfence/user-config/cpfmrtp/whitelisted_db_entries.txt
Each entry should be on a separate line.
Alternatively, you can use the Admin UI:
- Admin UI → Edit Configuration Files → Manage Whitelisted DB Entries
Whitelist an Entire Database (Full Wordpress install)
To completely exclude a website’s database from the scan, add its full path like this:
/var/www/uuid/
Place this inside the following file:
/opt/cpfence/user-config/cpfmrtp/whitelisted_databases.txt
Alternatively, you can use the Admin UI:
- Admin UI → Edit Configuration Files → Manage Whitelisted Database
This will skip scanning the entire database of the specified site during the daily database malware scan.
Need Further Assistance?
Visit our Knowledgebase or contact our support team for help.