Skip to content
Advertisement

wp-admin/admin-ajax.php 404 in action: send-attachment-to-editor

When I want to upload a photo to my article with the button to add a multimedia file, after uploading, when I click on the option to put it in the post. In the browser console wp-admin / admin-ajax.php gives a 404 error and no image is added to the post.

JavaScript

Advertisement

Answer

My problem was solved by disabling mod_security.

JavaScript

Add this to the end of htaccess.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement