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

ashish-jha

  • Home
  • Advertise
  • Blog
    • Technology
      • Cloud
      • Devops
      • Hacking
      • Security
      • WordPress
    • Software Development
      • PHP
    • Make Money
      • Blogging
      • Business
      • Domaining
    • Mindset
      • Spiritual
      • Motivation
      • India
    • General
      • Finance
      • Education
      • Health
  • Contact Us
  • 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

content writing contest
June 2, 2018

Content Writing Contest


Read more
March 8, 2014

Google celebrates International Women’s Day


Read more
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

  • Basics
  • Blogging
  • Business
  • Databases
  • Devops
  • Domaining
  • Education
  • General
  • Hacking
  • Motivation
  • PHP
  • Sales
  • Security
  • SEO
  • Software Development
  • Technology
  • Wordpress

Recent Posts

  • 0
    An Introduction to Databases
    January 12, 2021
  • 0
    Single Sign On
    January 12, 2021
  • 0
    Installation Of Nginx on Ubuntu 20
    January 11, 2021
  • 0
    JSON
    January 10, 2021
  • 0
    How to Use Sessions Correctly for Persistent Login?
    January 9, 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
    An Introduction to Databases
    January 12, 2021
  • 0
    Single Sign On
    January 12, 2021
  • 0
    Installation Of Nginx on Ubuntu 20
    January 11, 2021

Worth A Visit

  • Home
  • Advertise
  • Blog
  • Contact Us
  • 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 - 2022. Ashishjha.com


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