Remove WLW and RSD WordPress Links from your wordpress website. WordPress by default adds the following code to the head section of your WordPress site:
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://example.com/xmlrpc.php?rsd" /> <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://example.com/wp-includes/wlwmanifest.xml" />
These links are used if you plan on using Windows Live Writer to write to your wordpress blog/site.
Many of you simply dont need this or dont plan to use Windows Live Writer. This post will show you how to remove WLW and RSD wordpress links from you head section and reduce the size of the page and potentially make your pages load much faster.
Now to remove these links, simply login to your WordPress admin area and follow the instructions below:
1. Navigate to Design -> Theme Editor and click Theme Functions (functions.php) from the list of theme files
2. Just before the closing ?> tag, add the following:
remove_action ('wp_head', 'rsd_link'); remove_action ('wp_head', 'wlwmanifest_link');
3. Now click on update and the file will be saved.
For those of you that dont have a functions file, simply create a new file and call it functions.php and add the following code to that file:
<?php remove_action ('wp_head', 'rsd_link'); remove_action ('wp_head', 'wlwmanifest_link'); ?>
The WLW and RSD links should now be removed from your site. To check this simply visit your website and hit ctrl + u, which shows you the source code. If all has gone well the generator code is no longer there. That’s how easy it is to remove WLW and RSD WordPress links!