Saturday Weekend Security Tip: Remove This Useless Tag

There is a tag in your WordPress header file that generates it’s version number, every time someone loads the page. A simple view of the source code will reveal that you have WordPress 2.x. If you’ve chosen not to upgrade because you like 2.3′s interface or have some plugins that will not be compatible, your don’t want people (ahem, hackers) knowing that do you?? I thought not.

The Simple Fix:

  1. Download your current theme’s “Header.php” via FTP, or edit it in the WordPress Theme Editor.
  2. Open it up in Notepad++ (That I Recommended Last Post) and find the line that says:
  3. meta name=”generator” content=”WordPress <php bloginfo(‘version’); >” / <!– leave this for stats please –>

  4. Delete it and save your file.
  5. Your Done! Wasn’t so hard was it?

I actually knew about this fix for a long time, but I even still had it in my theme. Doh! :)

Related posts:

  1. Weekend WordPress Security Tip: Restrict Your Wp-Admin
  2. Weekend WordPress Security Tip: What To Do When Your Blog Is H4CK3D
  3. Weekend WordPress Security Tip: Index.html
This entry was posted in Web Security and tagged . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Enjoy this post? Theres more to come, so click here to subscribe to our RSS Feed.

2 Comments

  1. Posted August 31, 2008 at 1:20 pm | Permalink

    I just don’t create my wordpress themes with that tag.

    tek’s last blog post..HTC’s “Dream” pictures leaked

  2. Posted September 2, 2008 at 2:06 am | Permalink

    Nice tip!  WordPress is great, but it is amazing some of the “stuff” put into it that isn’t necessary.  As much as I study blogging in general and WordPress specifically, there’s always more to learn.  Thanks.

    DR’s Money Management’s last blog post..50 Ways to Make Money Blogging

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

CommentLuv Enabled

0 RSS Subscribers

Subscribe today to receive any updates on this blog for free!

You'll also receive, "The Blog Manual" free of charge for being a subscriber which you can download at the bottom of each post.

 


About The Author

Brad Ney

I am a Wordpress enthusiast, part-time website designer, and enjoy using the latest technology via the internet for website promotion.I enjoy writing about startup websites, XHTML, CSS, Wordpress based on what I've learned in the industry.