Component

What we do Components
Joomla! 1.5 Native Components More...

Modules

What we do Modules
Joomla! 1.5 Native Modules More...

Plugins

What we do Plugins
Joomla! 1.5 Native Plugins More...

Custom Dev

What we doProfessional, experienced consultants to aid you More...

Template Club

Our Template Club Coming Soon

How to Remove Generated by Joomla in the Meta Tag

So you want to remove the geneerated tag

 <meta name="generator" content="Joomla! 1.5 - Open Source Content Management">

Personaly, I think you should leave the joomla code, I mean after all give credit to the CMS

Many may find the inclusion of this meta tag to be inappropriate for their website. However, determining how to remove it is surprisingly difficult. Here is the recommended solution:

In your template, add the following above the tag:

setGenerator('Anything you want or leave empty'); ?>

thats it!

You can also edit the core joomla file, however this change will be lost if you upgrade the site!

The file you want to edit is called head.php and is found here:
/libraries/joomla/document/html/renderer/head.php

You will want to find the following code (~line 167):
$strHtml .= $tab.'getGenerator().'" />'.$lnEnd;

You can turn it off by simply commenting the line with // at the beginning:
//$strHtml .= $tab.'getGenerator().'" />'.$lnEnd;

JoomlaMafia has readers from all over the world and in many languages. If you create a translation of one of our posts and link to it than please let us know so we can add a link back to the translation at the original post.
Joomla Hosting