Allow Admin-ajax.php. With this article i will highlight why you need to Allow Admin-ajax.php. Allow: /wp-admin/admin-ajax.php is also one of the top asked question. It is not only you who tried to research for this. I am sure, most of you guys will not be even having any idea about what this file is all about. Don’t worry guys, i will try to highlight the use of admin-ajax.php in wordpress.

Allow Admin-ajax.php

Allow Admin-ajax.php
Allow Admin ajax

What is Admin-ajax.php

Admin-ajax.php is a wordpress specific code file that allows WordPress to communicate between the web-browser and the server. With Admin-ajax, wordpress uses /wp-admin/admin-ajax.php to run AJAX calls from the web-browser which keeps track of what is going on in the dashboard. To elaborate, as soon as you login on your site dashboard or perform any action like plugin install or anything, you will immediately see a request for admin-ajax.php in your logs.

Benefits when you Allow Admin-ajax.php

You should allow admin-ajax.php because some of the plugins might be using the file. When you install third party plugins, most of them uses the heartbeat file admin-ajax.php. The benefits and the main advantage when you allow admin-ajax.php is that if the crawler fetches for some plugin file, it is not stopped to fetch another linked file.

Also Read

The benefits when you add Sticky sidebar in adsense.

Steps to Allow Admin-ajax.php

  1. Log in to your WordPress website and install Yoast SEO plugin.
  2. Enable the Advanced Settings of the plugin.
  3. In Menu Section of wordpress dashboard, go to SEO -> Tools -> File file Editor and Edit the Robots.txt file.
  4. Now Add the code Allow: /wp-admin/admin-ajax.phpin the opened file.
  5. Save the new changes.


It is easy to edit the Robots.txt file. Make sure, you always backup your website before you change any part of the code. You can contact me anytime if you feel to make any change in your website. I will love to assist you. Also, do share the feedback how easy was it to proceed with editing the Robots.txt file.

Allow Admin-ajax.php | allow: Admin-ajax.php wordpress

Leave a Reply

Your email address will not be published.