1

When updating a page with Elementor, we're occasionally receiving a 404 error.

Most of the time we can update the page just fine, but when we try to add a <script> tag or a button with a custom font color it gives us a 404 Server Error.

What could be causing the issue?

2 Answers 2

1

I resolve this disabling "Modsecurity" in Cpanel. Modsecurity disable

1
  • Thanks for answering Daniel, please try and include a bit of an explanation as to what your actions do and why they address the problem. Apr 23, 2020 at 20:02
0

The exact cause of a 404 error can vary, but if you're receiving it when updating Elementor or making any other kind of call to admin-ajax.php and it only happens when performing very specific actions, then there's a good chance that it's security related.

I've had this error happen several times across several completely different WordPress sites. It doesn't seem to be specifically related to Elementor, though in my experience it happens more frequently with Elementor.

In every case that I've had so far, the cause was that the network request was being blocked by a security rule (false positive).

One time it was due to WordFence, so I used their Learning Mode feature to whitelist the action.

Another time it was triggered by Namecheap's mod_security rules, so I contacted their support and had them whitelist it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.