How to hide WordPress version number from blog HTML code
November 7th, 2009 Leave a comment Visited 166 times, 3 so far today
How to hide WordPress version number from blog HTML code
WordPress remains one of the most popular open source freely available blogging platforms on the web.
And it also remains one of the most targeted platforms for attacks.
WordPress developers ensure that they release timely updates for security vulnerabilities found in their code.
But some of their users do not update to the latest editions right away and that makes them insecure.
One of the easy ways to search for vulnerable WordPress blogs is to check for the version number in the HTML code of the blog pages.
Here is an example of such code:
meta name="generator" content="WordPress 2.8.4"
WordPress has made it somewhat complicated to hide that information. There are plug-ins available which do that automatically.
You can also accomplish the same without using a third party plug-in which could result in more problems in some cases.
You can hide this information by adding a line of code in the functions.php file in your theme:
remove_action('wp_head', 'wp_generator');
Read more: Remove the WordPress Version Generator
|
TechWhack on Facebook
|

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.