Title: googlebot hitting admin-ajax.php
Last modified: February 21, 2017

---

# googlebot hitting admin-ajax.php

 *  [deafeed](https://wordpress.org/support/users/deafeed/)
 * (@deafeed)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/googlebot-hitting-admin-ajax-php/)
 * Recent logs show googlebot is hitting admin-ajax.php even though called off limits
   in robots.txt
 * That normal behavior? To disrespect the robots.txt

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Pablo Pacheco](https://wordpress.org/support/users/karzin/)
 * (@karzin)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/googlebot-hitting-admin-ajax-php/#post-8830199)
 * Hello,
 * I don’t know if it’s a good idea to block googlebot from reading admin-ajax.
   
   I say this because google wants to have access to all css and js. Blocking this
   file can block access to these files sometimes either.
 * And considering this file also appears on front-end i think it’s good to allow
   google to read it. Maybe it’s the reason your robots is not being respected.
 * Therefore i think robots could be something like this
 *     ```
       Disallow: /wp-admin/
       Allow: /wp-admin/admin-ajax.php
       ```
   
 * WordPress itself is [allowing](https://core.trac.wordpress.org/browser/trunk/src/wp-includes/functions.php?#L1322)
   it by default
    -  This reply was modified 9 years, 3 months ago by [Pablo Pacheco](https://wordpress.org/support/users/karzin/).
 *  Thread Starter [deafeed](https://wordpress.org/support/users/deafeed/)
 * (@deafeed)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/googlebot-hitting-admin-ajax-php/#post-8832484)
 * Muchas gracias

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘googlebot hitting admin-ajax.php’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [deafeed](https://wordpress.org/support/users/deafeed/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/googlebot-hitting-admin-ajax-php/#post-8832484)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
