How to remove the META TAG of generator with WordPress
Usually, WordPress try output META infromation of generator that is version information of WordPress.
If you want to remove its META information, you may be able to remove META information by removing a code that is ‘wp_head();’ in ‘header.php’.
But you might not be satisfied. Because all META information is removed in this method.
If you want to remove only version information, you will be able to do it by changing codes in ‘header.php’ as follows.
|
2 line was added. This code will work to remove only generator informations (near equal version information) of WordPress.
Note : Insert previous ‘wp_head();’;
In addition, if you are using ‘wp_head ()’ on other files in the same theme, you will get good results because you add the following codes to ‘functions.php’.
|
You might also like:
Comments
Leave a Reply