POST requests to /wp-admin/admin-ajax.php trigger Cloudflare challenges even though robots.txt says bots can use that route

EchoingRuby

Well-known member
Joined
Mar 25, 2020
Messages
32
Points
58
POST /wp-admin/admin-ajax.php cannot be accessed by bots (even though it's explicitly allowed in robots.txt) because the route returns a Cloudflare captcha challenge.

Potential fixes:
  1. Change robots.txt to also disallow /wp-admin/admin-ajax.php.
  2. Remove Cloudflare protection from /wp-admin/admin-ajax.php.
 
Top