Force Restore WP Core (WebUI Method)
- Log into cPFence WebUI and pick your server.
- Go to Tools & Utilities ➜ WP-AutoShield Bulk Tools.
- Select Restore WP Core Files in the General & Backups section.
- Confirm the warning; cPFence downloads fresh WordPress core files and overwrites the existing ones on every site.
- Monitor the output closely—it’s best to run this only for experienced sysadmins who know the customization impact.
This tool removes malicious or modified core files without touching themes or plugins.
Command Line (CLI) Method
- SSH into the server.
- Execute:
cpfence --bulk-force-wp-core-files
Need Further Assistance?
Visit our Knowledgebase or contact our support team for help.
