How To Make Money Online In Nigeria

Dofollow Blogging, Wordpress & MMO Tips Blog

SPONSORED ADS
2CheckOut Payment ProcessorNetfirms DomainsHostgator HostingIncome Blogging GuideWeb Hosting For NigeriansHostportfolio Hosting

How To Remove Wordpress Version Generator Tag

Posted by Udegbunam Chukwudi Under Blogging Tips On October 25, 2009 1 COMMENT

Wordpress blogs as with other blogs with different softwares are prone to being hacked despite security measures put in place by the software makers. So it’s always good to seek better ways of increasing their level of security.

A good way of preventing your blog from being hacked is by removing the Meta Generator Tag. This tag makes your version of wordpress known to the world at large, hackers included. Any knowledge of your wordpress version, helps the hacker perpetrate his evil acts.

To remove the Meta Generator Tag do this:

  1. Open your theme’s header.php file and look for this tag: <meta name="generator" />. If it’s present, delete it and save the file.
  2. Open up wp-includes/general-template.php and search for the following function :  function the_generator( $type ) { echo apply_filters(‘the_generator’, get_the_generator($type), $type) . “\n”; }. Place a # before echo, save the file and you’re done. The result should look like this function the_generator( $type ) {
    #echo apply_filters(‘the_generator’, get_the_generator($type), $type) . “\n”;
    }

The above tutorial was made possible by Semlab’s post How to Stop Your WordPress Blog Getting Hacked.

P.S: To see if the above has worked, simply open a page on your site, right click on it and choose View Page Source. This tag <meta name=”generator” content=”WordPress 2.7.1″> will not be shown again.

For more blogging tips, be sure to read the following posts:
  1. How To Add Nofollow To Wordpress Tags and Tag Cloud Wordpress tag links and tag clouds. To use or not to use. The debate continues. Most SEO guys are of the opinion that the probability of being penalized by Google increases when wordpress tag clouds are added to a blog/site. Here’s what Google’s Matt Cutts has to say about the...
  2. How To Secure Wordpress Blogs With Plug-ins Securing your wordpress blog is a must if you don’t want months of hard labour flushed down the drain by hackers. Using a few plug-ins, you could to an extent frustrate any hack attempt on your wordpress blog. Note: If your blog has been hacked, you might want to consider...
  3. This Just In: Wordpress 2.8.1 Is Obsolete! Wordpress 2.8.2 supposedly fixes an XSS vulnerability in which comment author URLs were not fully sanitized when displayed in the admin....

Share Save on Delicious PrintEmail This Post

Social Tagging: Blogging Tips > meta generator tag > wordpress meta generator tag

Get Full Blogging and Make Money Online Tips Delivered Via E-mail

RSS Subscription

Please check your inbox and spam folder for the confirmation email

One Response to “How To Remove Wordpress Version Generator Tag”

  1. Philippe says:

    Thanks for the information.Really it will helpful for us to protect the blog from hacking.

Leave a Reply

PLEASE PLEASE PLEASE! I highly recommend you go through my revised comment policy before commenting.

All transactions with commenters on this blog are @ your own risk. StrictlyOnlineBiz will not be held responsible for any transaction gone wrong.

CommentLuv Enabled

By submitting a comment here you grant this site a perpetual license to reproduce your words and name/web site in attribution. If you're not cool with this, please DO NOT submit your comment. Thank you!

Also note that comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

SUBSCRIBE TO FULL BLOG UPDATES

RSS Feed


Follow Me On Twitter
Site Navigation