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.
Also, if ModSecurity is triggered too many times, it may interpret this as unauthorized access and place the IP address, potentially the customer's IP on the block list.
If you suspect this has happened, please contact our support team with your login information and the IP address you've been using to access your website. This will help us unblock you and restore your access to edit your website. Contact details can be found here