Will do. That thought had crossed my mind, but I had ruled it out on based on the fact that when I block access to wp-admin
that it challenges the user for a username/password.
It could be a .htaccess
issues. WordPress doesn’t redirect any requests which target an existing a file (e.g. to admin-ajax.php
or the log-in stylesheets). If the rewrite rules in the .htaccess
were altered so that the request was passed through index.php
, then perhaps it could lead to 404 as WordPress doesn’t know how to handle that request?

Stephen Harris
Ok it appears that it is htaccess related. I have all access blocked to the wp-admin directory via htaccess unless the IP is in the approved list.
So anyone not in that list it doesn’t display.
However, all of our machines work fine because our IPs are in the “approved” list.
So I’ve emailed the hosting support to see if there is something we can do about this.
What concerns me is blocking hacker access to the wp-admin directory and still getting things to work.

Chris Christenson
Ok, it was for sure the htaccess file.
Added this to the htaccess file…
<Files “admin-ajax.php”>
Allow from all
</Files>
It seems to be working just fine now.

Chris Christenson
Great, glad that’s sorted!

Stephen Harris