Remove remote-access and pingback functionality header links

I was reading the post by @anon95694377 about removing unnecessary emoji code and have implemented that procedure on all my sites. But in looking at my source code, I can see there are also calls to include remote-access and pingback functionality in these lines:

<link rel="EditURI" type="application/rsd+xml" title="RSD" href="" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="" /> 

Should these also be removed if they are never used? I have found it can be easily done with this code:

	remove_action('wp_head', 'rsd_link');
	remove_action('wp_head', 'wlwmanifest_link');

Is this worth doing?


Yes, I usually add that code to remove those links. I didn’t include this in my emoji-related post because it’s not related (though equally redundant in most situations).


Excellent, thanks. :+1: Will add this into my utility plugin.

It’s great having a utility plugin on all my sites as it makes pushing through these changes so much easier.

Understand why you didn’t include it in the emoji discussion but if you have any other “cleaning up” tips like this, I’d be keen to hear about them.


Here’s a resource for cleaning up the head section.


I’ve just been looking at that. Great work! :clap:

1 Like