WordPress showing "Background Request Blocked"

Modified on Wed, 26 Nov at 3:55 PM

If you use Wordfence on your website you may encounter the following error message while performing various changes on your WordPress website:


Wordfence Firewall blocked a background request to WordPress for the URL https://www.mydomain.com/wp-admin/admin-ajax.php. If this occurred as a result of an intentional action, you may consider whitelisting the request to allow it in the future.


This is produced because the Wordfence Firewall can block background requests to the admin-ajax.php script. This feature is used to prevent certain types of attacks, but some plugins or themes could perform legitimate requests to that script and get blocked.


To resolve the problem, set the Firewall mode to ‘Learning’ from your WordPress Dashboard > Wordfence > Firewall > Firewall Status > Learning Mode.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article