Title: Please add this code too&#8230;..
Last modified: August 21, 2016

---

# Please add this code too…..

 *  [anmari](https://wordpress.org/support/users/anmari/)
 * (@anmari)
 * [13 years ago](https://wordpress.org/support/topic/please-add-this-code-too/)
 * Hi there,
 * I think it would make sense if disabling xml-rpc to also get rid of the ‘discovery
   links’ which may attract the hackers to try xml-rpc on your site.
 * remove_action(‘wp_head’, ‘rsd_link’);
    remove_action(‘wp_head’, ‘wlwmanifest_link’);
 * See [http://www.themelab.com/2010/07/11/remove-code-wordpress-header/](http://www.themelab.com/2010/07/11/remove-code-wordpress-header/)
 * There is this plugin, but would be better to do it in one go since it is just
   a line or two of code.
    [http://www.planetmike.com/plugins/wlw-disabler/](http://www.planetmike.com/plugins/wlw-disabler/)
 * [http://wordpress.org/extend/plugins/disable-xml-rpc/](http://wordpress.org/extend/plugins/disable-xml-rpc/)

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

 *  Thread Starter [anmari](https://wordpress.org/support/users/anmari/)
 * (@anmari)
 * [13 years ago](https://wordpress.org/support/topic/please-add-this-code-too/#post-3791343)
 * Also found this for info of others doing a cleanup of the wp_head
 * [http://wordpress.org/plugins/wp-head-section-cleaner/](http://wordpress.org/plugins/wp-head-section-cleaner/)
 *  Plugin Author [Phil Erb](https://wordpress.org/support/users/philerb/)
 * (@philerb)
 * [13 years ago](https://wordpress.org/support/topic/please-add-this-code-too/#post-3791486)
 * Thank you anmari, I will look into adding this to the plugin shortly.

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

The topic ‘Please add this code too…..’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/disable-xml-rpc.svg)
 * [Disable XML-RPC](https://wordpress.org/plugins/disable-xml-rpc/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/disable-xml-rpc/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/disable-xml-rpc/)
 * [Active Topics](https://wordpress.org/support/plugin/disable-xml-rpc/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/disable-xml-rpc/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/disable-xml-rpc/reviews/)

## Tags

 * [XML-RPC](https://wordpress.org/support/topic-tag/xml-rpc/)
 * [xmlrpc](https://wordpress.org/support/topic-tag/xmlrpc/)

 * 2 replies
 * 2 participants
 * Last reply from: [Phil Erb](https://wordpress.org/support/users/philerb/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/please-add-this-code-too/#post-3791486)
 * Status: not a support question