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:
- Download the plugin
- Unzip it to your plugins directory
- Activate it
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


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 :-).