Security Tip: Remove WordPress Version Information

PhotobloggerA well-known tip in the blogosphere regarding WordPress is to remove the WordPress version from your meta-tags that are automatically generated by your WordPress blog.

This information can be used by potential hackers to pinpoint which version of WordPress you are using, and can help them find an exploit to start hacking your website.

Since version 2.5, it is not that easy to remove that information anymore, except via a trick in your theme’s function.php file or via a WordPress Plugin.

To manually remove it from your blog, open up your Theme Editor, and find the functions.php.

Add the following code to the file:

add_filter( ‘the_generator’, create_function(‘$a’, “return null;”) );

by Frank from WPengineer in the comments found on wprecipes.com

Or, if you prefer, install a plugin such as Secure WordPress, which Frank also mentions in his comment.

I have also researched alternative solutions, and found a few, such as the bs-wp-noversion (not tested) plugin as well as a plugin by Angsuman Chakraborty, named Angsuman’s WordPress Header Info Remover Plugin (also not tested).

You should be aware, that this tip does not SECURE your WordPress blog, it simply removes some information which can aid people trying to hack your blog.
  1. doktertomi says:

    Hai… I am thinking about “not remover” but “changer”. So I will get my wordpress version changed to fake version.

    • myWordPress says:

      Hi doktertomi

      Good idea, perhaps change it to something else. Perhaps “Joomla v. 3.112″ or something like that :-) Then you would REALLY confuse any potential hacker :-)

  2. Nazar says:

    Great post. Thank you for useful information.

PRIVACY POLICY: Your privacy is important to us. We will never sell or rent your email address and you can unsubscribe at any time.

If you check the check-box above and leave a comment, you will sign up to our newsletter, but do not worry, we only send out very few e-mails. We usually only send you an e-mail when we launch a new product, want to touch base with our e-mail readers or we have found a really really cool product we want to tell you about.

line
footer
Powered by Wordpress | Designed by Elegant Themes