Remove the WordPress Meta Tag from your Blog

Remove the WordPress meta tag from your WordPress site with this small function.

Whenever you create a new WordPress Blog a Meta tag is automatically added to every page. This can be a hackers paradise as they can hunt around the web for WordPress Sites and then target them in their next attack on the web!

Now, this doesn’t mean that your site won’t get hacked but it decreases your vulnerability to those attacks. The easiest way is to download this small plugin and upload to your WordPress Plugin Directory. You’ll then need to activate the plugin via the WordPress Admin Panel.

Or, you can simply add the following code to your WordPress Theme’s “functions.php” file.

function no_generator() { return ''; } 
add_filter( 'the_generator', 'no_generator' );

Leave a Reply

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