Remove Meta WordPress Generator Version

The problem with broadcasting the version number of WordPress is a
potential security issue, especially if the site is not maintained or
the administrator fails to update WordPress on a regular basis.
Broadcasting the version of a particular software program (eg.
WordPress) hackers are more likely to discover serious security flaws
in the code of older versions (no software is 100% secure). When a
flaw in security is found the update is announced and hackers will
scan the Internet for websites running that version of the software or
script. In the case of a CMS (content management system), if and you
haven’t updated it quickly enough, you may find your site is hacked.!

The theme will have it on by default so in the case of WordPress we
have to tell it NOT to load that particular meta tag when WordPress
loads.
This is easily achieved by editing the template and adding this to
your templates function.php file.

<?php remove_action('wp_head', 'wp_generator');?>

[tag: hosting, wp, wordpress, security]

PhoenixCOZA’s Blog Posted via email from PhoenixCOZA’s Blog

Tags: ,


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

You must be logged in to post a comment.



%d bloggers like this: