View Single Post
Old 12-11-2019, 02:11 AM  
zerovic
Confirmed User
 
zerovic's Avatar
 
Industry Role:
Join Date: Apr 2010
Posts: 1,018
Quote:
Originally Posted by Marshal View Post
This issue occurs when your site tries to load /wp-admin/admin-ajax.php file (probably loaded in the theme). I assume .htpasswd authorization was set up for /wp-admin/ directory.
It is possible that some of your theme or plugins got exploited (not necessarily). I would try disabling all plugins and enabling one by one to figure out what went wrong.
For more details you may google for: /wp-admin/admin-ajax.php authorization 301
Exactly. Your /wp-admin/ is protected with .htaccess and .htpasswd which prevents admin-ajax.php from loading.

All you have to do is disable the protection in /wp-admin/

edit: I thought turning off the ajax call will prevent this, but it won't. The admin-ajax.php has to be loaded, as far as I know.

edit 2: read this for more information: https://www.wordfence.com/blog/2014/...for-wordpress/

edit 3: i just came across this guide: https://www.inmotionhosting.com/supp...-php-attempts/

Cheers,
z
zerovic is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote