Manage Security Headers (WebUI Method)
- Log into cPFence WebUI and choose the server.
- Navigate to Tools & Utilities ➜ WP-AutoShield Bulk Tools.
- Open Enable Security Headers to push the recommended header set, or Disable Security Headers to remove them.
- Confirm the action; cPFence writes/removes the security headers for each site.
- Use the log to ensure every site applied the change successfully.
Tip: Ensure autoshield_security_headers is set to ‘Off’ in the Settings page (if it’s currently on), or WP-AutoShield will automatically re-enable it during the next 6:10 AM run.
Command Line (CLI) Method
- SSH into the server.
- Enable the header policy:
cpfence --bulk-enable-sec-headers - Disable it when necessary:
cpfence --bulk-disable-sec-headers
Keep CDN caches purged so the updated headers propagate immediately.
Need Further Assistance?
Visit our Knowledgebase or contact our support team for help.
