Mobile app version of vmapp.org
Login or Join
Rivera981

: "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

@Rivera981

Posted in: #GoogleSearchConsole #RobotsTxt #Webmaster

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

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Rivera981

1 Comments

Sorted by latest first Latest Oldest Best

 

@Murray432

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

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme