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

676 RSS Subscribers

Subscribe today to recieve 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.

 


Blog Advertisers

Recent Comments

  • Jonny said: As usual you are right Brad I think I should pay more attention to headlines looking back at some...

  • SEO said: Exactly proper marketing can get an article attention, one of proper marketing encompasses the...

  • Ganesh Iyer said: Apart from having an interesting title, the content of the article should be absorbing. This...

  • George Angus said: Brad, Great stuff. Looking forward to the next in the series. Headlines (titles) are...

  • LittleWebThings said: Many of these entries have been useful to me over the years! Thanks for creating this...

  • 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.

    Reader Poll

    • Are you a...

      View Results

      Loading ... Loading ...