Sometimes when using a editor in a CMS such as WordPress it might cause an conflict with ModSecurity and not save the edit or new page / post creation. This will show in the logs of the website as a error. The error will look like the below image. To allow the editor to work we need to find the error and add an exception to the web application firewall.
To add the exception see below for instructions.
Steps to Add Exceptions:
- Log in to the web hosting control panel in your 1st Domains account.
- Check for log errors under the Dashboard.
- In the Log page, check for “Apache error” and “Nginx error” under “All Logs”.
- You should see the error highlighted in red.
- If you see any ModSecurity errors, copy the ID (e.g. [id "33340147"])
- Go to the main page of the web hosting control panel.
- Under Security, click on “Web Application Firewall”.
- Paste the Error ID in the “Security Rule IDs” field.
- Click “Apply”.
It’s important to note that the ID may change for different processes. If you encounter another case where you can't save or make any edits, please check the logs again to see if ModSecurity has been triggered.