There are elements that are enabled by default in many WordPress environments, but not necessary to be enabled. Cleanup the unnecessary code between <head>
and </head>
.
<link rel="EditURI" type="application/rsd xml" title="RSD" href="http://yourwebsite.com/xmlrpc.php?rsd" />
XML-RPC clients use this discovery method. If you do not know what this is and don't use service integrations such as Flickr on your WordPress website, you can remove it. Note: As you already chosen to completely disable "Disable XML-RPC", the "Really Simple Discovery (RSD)" link tag is already removed. |
|
<link rel="wlwmanifest" type="application/wlwmanifest xml" href="https://yourwebsite.com/wp-includes/wlwmanifest.xml" />
If you do not use Windows Live Writer to edit your blog contents, then it's safe to remove this. |
|
<link rel='https://api.w.org/' href='https://yourwebsite.com/wp-json/' />
Are you accessing your content through endpoints (e.g. https://yourwebsite.com/wp-json/, https://yourwebsite.com/wp-json/wp/v2/posts/1 - 1 in this example is the POST ID)? If not, you can remove this. |
|
<link rel='shortlink' href="https://yourdomain.com/?p=1">
Are you using SEO friendly URLs and do not need the default WordPress shortlink? You can just remove this as it bulks out the head section of your website. |
|
<link rel='prev' title='Post title' href='https://yourdomain.com/prev-post-slug-here/' /> & <link rel='next' title='Post title' href='https://yourdomain.com/next-post-slug-here/' />
This removes relational links for the posts adjacent to the current post for single post pages. |
|
The option to disable RSS feeds has been moved to its own area in "Disable RSS Feed" (vertical menu) starting from v1.2.1.2.
|
|
<meta name="generator" content="WordPress 4.9.8" />
This is good for security purposes as well, since it hides the WordPress version you're using (in case of hacking attempts). |
|
e.g. <meta name="generator" content="Easy Digital Downloads v2.9.8" />
This will remove all meta tags with the "generator" name, including the "WordPress version" meta tag. You could use a plugin or a theme that has added a generator notice, but you do not need to have it there. Moreover, it will hide the version of the plugins and theme you're using which is good for security reasons. |
This feature will strip all comments except the Internet Explorer conditional ones. If you wish to keep specific comments, use the textarea below to add exception patterns (one per line).
There are comments which might not be stripped from the final HTML source and this is due to the source being updated outside the WordPress environment or by caching plugins that add their own signatures before rendering the cached pages. Read more about how you can strip those comments too!
|