Title: Should I disallow XMLRPC.php in robots.txt?
Last modified: August 22, 2016

---

# Should I disallow XMLRPC.php in robots.txt?

 *  Resolved [boybawang](https://wordpress.org/support/users/boybawang/)
 * (@boybawang)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/should-i-disallow-xmlrpcphp-in-robotstxt/)
 * I noticed that Google is indexing [http://mydomain.com/xmlrpc.php?rsd](http://mydomain.com/xmlrpc.php?rsd).
   Is there any problem in disallowing /xmlrpc.php in my robots.txt file?
 * `Disallow: /xmlrpc.php`
 * Thanks

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/should-i-disallow-xmlrpcphp-in-robotstxt/#post-5619306)
 * That shouldn’t do anything to hurt the functionality of your site, and at the
   very least, it’s necessary to get Google to remove it.
 *  Thread Starter [boybawang](https://wordpress.org/support/users/boybawang/)
 * (@boybawang)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/should-i-disallow-xmlrpcphp-in-robotstxt/#post-5619320)
 * Thanks James. Are you saying I should have google remove it from Google’s index?
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/should-i-disallow-xmlrpcphp-in-robotstxt/#post-5619336)
 * If you place that in robots.txt, Google will remove it automatically (in a week
   or two). 🙂
 *  Thread Starter [boybawang](https://wordpress.org/support/users/boybawang/)
 * (@boybawang)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/should-i-disallow-xmlrpcphp-in-robotstxt/#post-5619352)
 * Got it, thanks 🙂
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/should-i-disallow-xmlrpcphp-in-robotstxt/#post-5619368)
 * You’re welcome!

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

The topic ‘Should I disallow XMLRPC.php in robots.txt?’ is closed to new replies.

## Tags

 * [disallow](https://wordpress.org/support/topic-tag/disallow/)
 * [index](https://wordpress.org/support/topic-tag/index/)
 * [noindex](https://wordpress.org/support/topic-tag/noindex/)
 * [robots](https://wordpress.org/support/topic-tag/robots/)
 * [xmlrpc.php](https://wordpress.org/support/topic-tag/xmlrpc-php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/should-i-disallow-xmlrpcphp-in-robotstxt/#post-5619368)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
