Antezeta LogoAntezeta Web Marketing

Reflections on search engine optimization, web analytics and web marketing

Antezeta Web Marketing header image 4

Remove Wordpress version information from your blog and feeds

May 13th, 2008 by sean · 1 Comment

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:

[Read more →]

Tags:·