Remove WordPress generator meta tag

WordPress show version no. in meta generator tag by default on your wordpress blog. For security reasons you must remove this meta generator tag. It’s easy to remove meta generator tag in wordpress, just open your current activate theme functions.php file inside a text editor and add following code.

remove_action('wp_head', 'wp_generator');

If your theme don’t have functions.php just create a functions.php file and add following code inside it

remove_action('wp_head', 'wp_generator');

and upload it to your current theme folder.

Leave a Reply

Your email address will not be published. Required fields are marked *