0

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?

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.

| improve this answer | |
0

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

| improve this answer | |
  • 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. – Tony Djukic Apr 23 at 20:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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