Remove unnecessary meta information from your WordPress site
Removing unnecessary meta information enhance security and performance of your wordpress site.
Many WordPress themes by default include the version information. It helps hackers to easily target your site. You should not display which version of WordPress that’s running on your site to the general public.
You can cleanup unnecessary meta information putting some code in your theme functions.php
<?php //remove unnecessary meta information remove_action( 'wp_head', 'wlwmanifest_link' ); // Display the link to the Windows Live Writer manifest file. remove_action( 'wp_head', 'index_rel_link' ); // index link remove_action( 'wp_head', 'parent_post_rel_link', 10, 0 ); // prev link remove_action( 'wp_head', 'start_post_rel_link', 10, 0 ); // start link remove_action( 'wp_head', 'adjacent_posts_rel_link', 10, 0 ); // Display relational links for the posts adjacent to the current post. remove_action( 'wp_head', 'wp_generator' ); // Display the XHTML generator that is generated on the wp_head hook, WP version ?>