WordPress.org

Ready to get started?Download WordPress

Forums

Disable XML-RPC
Please add this code too..... (3 posts)

  1. anmari
    Member
    Posted 1 year ago #

    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/

    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://wordpress.org/extend/plugins/disable-xml-rpc/

  2. anmari
    Member
    Posted 1 year ago #

    Also found this for info of others doing a cleanup of the wp_head

    http://wordpress.org/plugins/wp-head-section-cleaner/

  3. Phil Erb
    Member
    Plugin Author

    Posted 1 year ago #

    Thank you anmari, I will look into adding this to the plugin shortly.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic