403 error - forbidden
The error "403 Forbidden" is occurring on my website, but it's not happening throughout the entire website. It's only on certain pages, like when I try to open "add new plugin" in wp-admin, it appears. Also, no changes are being made in Elementor; whenever I try to update something, a server error occurs. Kindly help me resolve this server error and also the "403 Forbidden" error on some pages.
-
That is most likely caused by ModSecurity rule(s).
If you don't have root WHM access to the server you must contact your hosting provider.
1 -
Did you ever find a solution to this problem or what was causing it?
0 -
Charl Du - were you able to check the Apache logs to see what it says there?
0 -
When you get a 403 error when you are trying to update a PHP based site, it's pretty much every time caused by ModSecurity.
Then you can check Apache error log in:
/etc/apache2/logs/error_logIf it is caused by ModSecurity you can see it in:
/etc/apache2/logs/modsec_audit.log
You will see the ModSecurity rule ID causing the error.Then you can find it in
WHM -> Security Center -> ModSecurity Tools0
Please sign in to leave a comment.
Comments
4 comments