August

30th

Saturday Weekend Security Tip: Remove This Useless Tag

Filed under Security.
Amped Media - Join Today!

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

Thanks for visiting my blog! You may want to subscribe to my RSS feed so you will be able to get these personal blog tips for free!

2 Responses to Saturday Weekend Security Tip: Remove This Useless Tag

  1. tek
    1:20 pm on August 31st, 2008

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

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

  2. DR's Money Management
    2:06 am on September 2nd, 2008

    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

Leave a Reply