/* Remove RSD Link in WordPress */
remove_action('wp_head', 'rsd_link');
Use the above code in your child theme’s functions.php to disable RSD Links in WordPress. By default, WordPress adds an RSD link which is nothing but ‘Really Simple Discovery‘ link which is used to remotely access your site through XMLRPC.php.
<link rel=”EditURI” type=”application/rsd+xml” title=”RSD” href=”https://wpf.jaxn.in/xmlrpc.php?rsd” />
If you don’t use your phone to post content on your site except through web browsers, you should consider disabling those RSD links that add some unnecessary code on your site header.