: "admin-ajax.php " file should allow or disallow in robots.txt file? My Wordpress site c-panel showing admin-ajax.php file wasting more CPU resources. how to solve the problem. Should i use this
My Wordpress site c-panel showing admin-ajax.php file wasting more CPU resources. how to solve the problem. Should i use this command in robots.txt file or not -
User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
More posts by @Rivera981
1 Comments
Sorted by latest first Latest Oldest Best
This file is often used front-end by themes and plugins.
It was changed in WordPress robots.txt file a couple of years ago to allow crawling for this reason, after an issue with google being unable to crawl it.
The WP Core ticket thread can be found here and offers further information core.trac.wordpress.org/ticket/33156
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2025 All Rights reserved.