• Ashish Jha's Official Blog
  • ask[@]ashishjha.com

ashish-jha

  • Home
  • Blog
    • Technology
      • Cloud
      • Devops
      • Hacking
      • Security
      • WordPress
    • Software Development
      • PHP
    • Make Money
      • Blogging
      • Business
      • Domaining
    • Mindset
      • Spiritual
      • Motivation
      • India
    • General
      • Finance
      • Education
      • Health
  • Contact Me
  • Site Map
✕

Remove WordPress Generator Meta Tag

  • Home
  • Blog
  • Make Money Blogging
  • Remove WordPress Generator Meta Tag
September 16, 2011
Categories
  • Blogging
Tags

    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 not be visible in the head section. The information in head section looks something like this. Removing that line from the head part of blog is quite easy.

    //add this line of code in your theme functions.php file
    remove_action(‘wp_head’, ‘wp_generator’);

    simply add 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 tag and remove it from there. Save the file and referesh your blog and hurray its gone for ever.

    Ashish Jha
    Ashish Jha
    I am Ashish Jha, Blogger at ashishjha.com blog. I use this blog to write about the things i like and explore. I share my everyday learning experiences with my readers through this blog. 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.

    Related posts

    September 16, 2011

    11 Important WordPress plugins for a professional blog


    Read more

    2 Comments

    1. Wordpress plugins says:
      March 24, 2012 at 1:44 am

      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. maggie says:
      September 7, 2012 at 2:18 pm

      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.

    Search

    ✕

    Categories

    • Blogging
    • Business
    • Devops
    • Domaining
    • Education
    • General
    • Hacking
    • PHP
    • Sales
    • Security
    • SEO
    • Technology
    • Wordpress

    Recent Posts

    • 0
      How to Use Sessions Correctly for Persistent Login?
      January 9, 2021
    • 0
      How to add custom folders to one drive?
      January 7, 2021
    • 0
      Securing WordPress Admin Directory with HTTP Authentication
      January 5, 2021
    • 0
      How To Use Web Cookies Securely?
      January 4, 2021
    • 0
      9 Best Steps to Secure Your Server
      January 3, 2021

    Recent Comments

    • May 23, 2018

      Ashish Jha commented on Should I Call Or Email?

    • May 23, 2018

      Ashish Jha commented on Importance of Education



    Recently Added

    • 0
      How to Use Sessions Correctly for Persistent Login?
      January 9, 2021
    • 0
      How to add custom folders to one drive?
      January 7, 2021
    • 0
      Securing WordPress Admin Directory with HTTP Authentication
      January 5, 2021

    Worth A Visit

    • Home
    • Blog
    • Contact Me
    • Site Map

    More

    • Who Am I?
    • Community Services
    • Contact Us
    • Business
    • Motivation

    Ashish Jha

    This is my personal blog where i share my personal views about life and tech explorations.  I always work hard to bring the best & truthful facts through this blog. But, again i disclaim being an authority on any subject. I love learning new things and sharing them with my readers.

    Note: Whatever i write on this blog are totally my experiences. If you don’t agree, Simply ignore them and move ahead in life. 

    © 2007 - 2024. Ashishjha.com


      This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.