Remove rel=EditURI and rel=wlwmanifest links

In the following simple solution, I’ll show you how to remove the wlwmanifest and EditURI links from the WordPress head section of your blog. You only need these links if you plan to use Windows Live Writer to write to your WordPress blog. If you do not plan to use Windows Live Writer, you can safely remove these header links to slightly reduce the size and load time of your pages while potentially increasing  SEO by moving the important site content upwords.

<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://yoursite/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://yoursite/wp-includes/wlwmanifest.xml" />

How to Remove link rel=”EditURI” and link rel=”wlwmanifest”

    1. Login to your WordPress admin panel
    2. Navigate to Appearance > Editor
    3. Click Theme Functions (functions.php) from the Theme Files section
    4. Add the following code to the end of the file. Just before the closing <?php } ?> or ?> tags:

add_action('init', 'remheadlink');
function remheadlink() {
remove_action('wp_head', 'rsd_link');
remove_action('wp_head', 'wlwmanifest_link');

  1. Click the Update File Button and go view the source code of a page on your site

If all goes well, the EditURI and wlwmanifest links should be gone ;)