editURI

To remove it, just add this line to your functions.php file:

remove_action(‘wp_head’, ‘rsd_link’);

To completely disable XML-RPC functions, add this snippet to your wp-config.php just below the require_once(ABSPATH . ‘wp-settings.php’); line:

add_filter(‘xmlrpc_enabled’, ‘__return_false’);

Then add this snippet to your .htaccess file to prevent DDoS attacks:

<Files xmlrpc.php>  Order Deny,Allow  Deny from all</Files>

Speak Your Mind

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.