404 admin-ajax.php
-
The URL /wp-admin/admin-ajax.php is returning a 404 in the admin screens, for example in Appearance->Themes->Add New->Featured.
I have checked file permissions and that the file is present and readable, however I get the following response from ajax calls in the admin screen:
HTTP/1.1 404 Not Found X-Powered-By: PHP/7.0.7 Access-Control-Allow-Origin: https://dhlvm Access-Control-Allow-Credentials: true X-Robots-Tag: noindex X-Content-Type-Options: nosniff Expires: Wed, 11 Jan 1984 05:00:00 GMT Cache-Control: no-cache, must-revalidate, max-age=0 Pragma: no-cache X-Frame-Options: SAMEORIGIN Content-Type: application/json; charset=UTF-8 Transfer-Encoding: chunked Date: Fri, 15 Jul 2016 19:46:05 GMT Server: lighttpd/1.4.39
The response body looks healthy, which is strange considering the 404 status:
{"wp-auth-check":true,"server_time":1468611965}
I have no plugins enabled, just a plain WP installation on a local VM running under lighttpd.
I did have to set define(‘CONCATENATE_SCRIPTS’, false); in wp-config to fix another issue, so I wonder if this is related (CONCATENATE_SCRIPTS=true makes the admin screens practically unusable for some reason).Any ideas as to why I’m getting the 404 errors ?
- The topic ‘404 admin-ajax.php’ is closed to new replies.