Antezeta LogoAntezeta Web Marketing

Reflections on search engine optimization, web analytics and web marketing

Antezeta Web Marketing header image 2

Remove WordPress version information from your blog and feeds

by sean · 1 Comment

Share

By announcing to the world the version of WordPress you are running, you greatly simplify the work of a hacker. Peter Westwood’s post documents how to suppress output of the WordPress version number in feeds and blog posts. I’ve packaged his code in a very rudimentary WordPress plugin which will hide the version number in blog and rss feeds. The plugin only suppresses the WordPress version information automatically inserted by WordPress 2.4+.

You may still need to remove any hard coded version information in your theme. Look for a line like this:

<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->

and remove it.

Installation:

Use at your own risk.

Related post: 9 SEO Security Tips for WordPress

Similar Posts:

If you haven't already, you might subscribe to my feed by Email, RSS feed and/or follow me on Twitter, which is updated on a more frequent – and more meaningless – basis. Finally, if you're a Sphinn user, Sphinn love is welcome :-). Thanks for visiting!

Share

Originally published May 13th, 2008 Tags: ·


1 response so far ↓

  • 1 Kevin Bossons // Nov 16, 2009 at 15:06:18

    Would love this plugin to have the option of also removing the RSS feeds. I tried to remove both the WP version and feeds using the functions.php command to no avail.

Leave a Comment

Warning: Comments are welcome insofar as they add something to the discussion. Anonymous and/or polemical comments without a rational justification of the author's position risk being mercilessly deleted at the sole discretion of the administrator. Yes, life is hard :-).

*
To prove you're a person (not a spam script), type the answer to the math equation shown in the picture. Click on the picture to hear an audio file of the equation.
Click to hear an audio file of the anti-spam equation