HowTo : Remove the generator meta-tag in Joomla

Published On :

WordPress is considered as a giant Blogging tool but when it comes to Content Management Systems (CMS), Joomla is the king. Though both can’t be compared as they are used differently for different purposes. With Joomla you can build a CMS, blogging site (not popular, but it could be built up) & as it’s open source you can even use it for commercial websites. You may think making a website is Joomla is simple. No, it isn’t.

It’s not just a framework where you can search for quality (Premium for free kinda) themes & present it to your client. If you want to make a quality site using Joomla, you need to just work hard just as you do in Custom design. Though it’s plugins/components/modules can be very useful. Still there are deep customizations involved.

generator-meta-tag

If you fall in the category of users/companies who offer Joomla customizations or build sites with Joomla and you’re wondering HowTo remove the ‘generator’ meta-tag to let nobody know that you’ve used Joomla.

There are many methods of removing/renaming it. But here I will give only the method I have tried out & was successful with it. It’s the easiest of them all too.

Removing the ‘Generator’ Meta-Tag

1. Goto to hosting panel where you have hosted your Joomla site

2. Open File Manager & navigate to this path,

/public_html/domain/libraries/joomla/document/html/renderer/head.php

  • Carefully replace the domain with your own domain / sub-domain.

filepath-for-removing-the-generator-meta-tag

3. Edit that file (head.php) & search for,

$strHtml .= $tab.'<meta name="generator" content="'.$document->getGenerator().'" />'.$lnEnd;

4. After you find it; just add two slashes (//) before it, So now the code becomes,

//$strHtml .= $tab.'<meta name="generator" content="'.$document->getGenerator().'" />'.$lnEnd;

5. Cheers! The Generator tag will no longer appear when anyone views your site’s meta-information.

To explain more about the two slashes (//), it’s basically a comment tag used to add comments,copyright,information to an editor. Adding this will not remove the code but will prevent it from displaying it. It doesn’t hide it, so don’t worry about rankings & penalties.

Do you know any other method which is simpler than this & applies to most of the theme, then share your method with me using the Comments Section!

Share :
Tagged as : 11 Comments
About » Has written 231 Post(s) «

I'm a Web Designer/Developer, SEO'er and a Blogger who gives a few Blogging Tips in the form of posts/tutorials. Follow & Subscribe to my Blog if you feel it's worth it.

HostGator
Loader

4 Comments Comments RSS

  1. #

    Thanks for sharing very useful. I have couple of joomla based websites this interesting post helps me a lot to remove the generator meta tag. :)

  2. #

    nyce post
    a year back i was ma dbehind it to remove that:)
    would try it out soon dude !

  3. #

    Thanks mani…!! :)

7 Trackbacks

  1. By iTunes Gift Card Generator on August 10, 2010 at 11:28 am
  2. By Tradetorials on August 14, 2010 at 7:56 am
  3. By Tradetorials on August 14, 2010 at 7:46 pm
  4. By Tradetorials on August 21, 2010 at 6:59 am

Post a Comment

Your email is never published nor shared. Required fields are marked *

Also, use your Real name in the 'Name' field. Comment names with only keywords will be trashed.