WordPress - Ajax call response with .well-known/captcha

I am trying to get data with ajax call on WordPress. But ajax response return .well-known/captcha as a result.

Response result:

<html><meta http-equiv="refresh" content="0;/.well-known/captcha/"></meta></head></html>


I'm going to go out on a limb and say that you're probably getting this error on a site hosted with SiteGround. They implemented a new firewall which blocks requests based on IP etc. You can learn about it here: https://www.siteground.com/blog/new-anti-bot-ai/

The only resolution is to ask SiteGround to disable this feature for your site.

This is happening because your AJAX calling is being blocked by SiteGround to show a Captcha (which obviously you cannot fill in an AJAX call).

Tags: PHP / Wordpress

Similar questions

Known Issues in WordPress When Upgrading PHP to ver 7
I am running a WordPress Multisite Network in PHP 5.6.30 and MySQL Community Server 5.6.35 I plan to upgrade my server to PHP ver 7.1.x and MySQL to the MariaDB ver 10 Are there any issues that I need to be aware of and account for before I do such an upgrade?
Is there any known plugins that would replace WordPress classes in editor with their Bootstrap 4 equivalent?
Context: I'm using WordPress as a backend for article writing on a non-wordpress site (built with Laravel, using Corcel to access the data, if that matters). That website is built with Bootstrap 4, and when fetching the posts written in WordPress, there's a couple of classes that is added by WordPress for styling that, of course, does not translate...
Clean up Known javascript malware on wordpress site
Hi one of my wordpress website is affected by malware when I checked at https://sitecheck.sucuri.net/ It says Known javascript malware. Details: http://sucuri.net/malware/malware-entry-mwspamseo document.write('<' + 'di' + 'v sty' + 'le="position: absolute; l' + 'eft: -1835px; t' + 'op' + ': -2665px;">'); How should I clean this? And i dont s...
Python - python-wordpress-xmlrpc add tags to a post with known id
I have a python list with tags and the id of the post I want to add the tags to. I do not retrieve the post id with wordpress-xmlrpc. According to documentation here I should use something like: But I have already the post id, I just want to update it with my tags_list (which I don't know If they are already created in wp database or not)
POSTMAN and Wordpress JWT: Connection failed: php_network_getaddresses: getaddrinfo failed: Name or service not known
I installed JWT according to the instruction and tested the /wp-json/jwt-auth/v1/token restpoint via POSTMAN. But I get this response here: Connection failed: php_network_getaddresses: getaddrinfo failed: Name or service not known Any hint? BTW: /wp-json/jwt-auth/v1/token/validate works! Maybe something was messed up when i implemented an internal ...
Cannot connect Wordpress on external dbgetaddrinfo failed: Name or service not known
I would like to run my Wordpress site on Docker, and I want to connect the Wordpress database to another container which have only the databases of all my sites. For doing so, I've created a LAMP container using the following docker-compose.yml: as you can see I've installed Apache as service using the webdevops image, this return the following: Th...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.