Please feel free to subscribe using either RSS or Email to stay upto date with the latest news.

RSS for 42k Wordpress Theme
RSS for Factory42
RSS for Factory42
 

All Delivered by FeedBurner

Wordpress: Security 2: Hide your Wordpress version

Were gonna do a a whole series on Wordpress security over the coming months, some points you may know, some you may not, some we may not know! In which case why dont you use the contact form or the comments and send them in! For a list of all our WP security posts so far have a look here


Not upgrading Wordpress to the latest version can be a killer, especially if you miss security patches and such.

Hackers can easily check what version of WP your running just by looking at the details shown in the head section of your theme. This can give them a great idea of what would work to hack your site, so lets get rid of that information!

If you open the header.php file in your theme folder and look for the following line

<meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” />

The last part of that line is what’s going to spit out your WP version, so lets tidy that up and replace the line with:

<meta name=”generator” content=”WordPress” />

Again, its not going to make your site hack-proof, but its another little thing to make things a bit harder for anyone poking around.


You must be logged in to post a comment.