How to remove WordPress version from blog header and RSS feed?

Long ago, I published an article on WordPress security where I advised bloggers to remove the WordPress version from the blog header. So that hackers won’t be able to find the WordPress version and exploit its vulnerabilities.

Nowadays by default most of the themes remove the version information from the header. However, today I noticed that some WordPress themes; specially latest Twenty Eleven theme includes the information.

<meta name="generator" content="WordPress 3.2.1" />

To remove the information, go to Appearance > Editor and choose the header.php file and remove the following from the source code.

<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />

If you cannot find the line, just install WordPress Remove Version plugin and it will remove the version information automatically from your blog header and RSS feed.

Stay safe and happy blogging.

Jinnat Ul Hasan

By | On Friday, July 22nd, 2011 | Under How To's, Plugins | No Comments ยป


Contact our experts, most of the time we assist our readers free of charge.

Those who found this page were searching for:

  • how to disable catagories in wordpress 3.2
  • wordpress remove comment from page Version 3.2.1
  • wordpress remove rss feed from header
  • where to edit
  • wordpress hide subscribe rss link
  • remove
  • meta name generator content wordpress 3.2.1

Previous post:

Next post: