How to Remove WordPress Unnecessary meta tags from header, Remove non-essential meta tags from WordPress header step by step procedure with screen shots.

How to Remove WordPress Unnecessary meta tags from header

Hi every one. This is my First article related to wordpress tutorial. In this article i would like to explain how to remove unnecessary meta tage from wp header.

What are the Unnecessary meta tags in WordPress header ?

when ever you Install wordpress setup on your server, some default setting are exit. Actually thay won’t required after instillation.

Example : readme.html in root directory,……etc

In the same way, some meta tag’s are automatically generate in the header.php. Those tags are not require after finishing the wordpress instillation. The Following meta tag you will found in the header file. You see the html source code by pressing CTRL+U, By using Search box (CTRL+F) find below meta tag it will be appear like as given screen shot below.

<meta name=”generatorcontent=”WordPress 4.2.2” />

For instance, the version of WordPress software running on your server can be easily retrieved by looking at your source header.

How to Remove WordPress Unnecessary meta tags from header

The above information is a good hint to WordPress hackers who are looking to hack blogs. Hackers are find whether if you using the old or New wordpress version. In older versions of WordPress software less secure. So to completely remove the non-essential meta tags from header.

How to Remove Unnecessary meta tags from WP header ?

To completely remove the wordpress version number and other non-essential meta-data from header, add this snippet to the “functions.php” file found in your WordPress themes folder.

Step’s To Find functions.php in your WordPress themes folder :

How to Remove WordPress Unnecessary meta tags from header-1

1. Login to WordPress Dashboard

2. Go to Appearance -> Editior -> functions.php.

3. Add the Following snippet at bottom of functions.php file.

remove_action( ‘wp_head’, ‘wp_generator’ ) ;
remove_action( ‘wp_head’, ‘wlwmanifest_link’ ) ;
remove_action( ‘wp_head’, ‘rsd_link’ ) ;

4. Finally Press Update File Button.

5. Done.