Sunday , 21 December 2014
Home > Blogging > Remove WordPress Generator Meta Tag

Remove WordPress Generator Meta Tag

Generally every wordpress  blog adds a line in the head section of  the Html source code which states that the page has been generated  by wordpress x.x.x. The information about wordpress and its current version number is very easily visible in the head section of any wordpress blog.  This does not cause any harm however, it   provides some useful information for the nasty people. I personally feel that the information should bot be visible in the head section.

The information in head section looks something like this

<meta name="generator" content="WordPress 2.8.4" />

Removing that line from the head part of  blog is quite easy. simply add

remove_action(‘wp_head’, ‘wp_generator’);

into your themes function.php file and it will be gone forever. If the generator line is still there, you can also check head section present in header.php file for the generator meta tage and remove it from there. Save the file and referesh you blog and hurrray its gone for ever.

About Ashish Jha

I am Ashish Jha, Founder and owner of theashish.com blog. I use this blog to write about the things i like and share my everyday learning experiences with my readers. I love to answers concerns of my users and readers which you can ask through contact us form located at contact us page of the blog.

2 comments

  1. Agreed, a very useful and very easy thing to set up. I’d also recommend not calling your admin user “admin”, since that is too obvious, and changing table prefix when installing WordPress.

  2. Your post is very nice and its true. I am working as seo analyst and i will mainly concentrate on the meta tag. Because through meta tag we can make keyword optimise easily and also we can make our site to get good ranking also.

Leave a Reply

Your email address will not be published. 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>

Print
Live Help