How to Remove the Joomla Generator Tag in Joomla 1.5

Posted by Systems Cowboy on February 28, 2011

This is an annoying thing about Joomla 1.5 and I always change this tag.

The default setting for the generator tag in Joomla 1.5 is:

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

I usually change this to:

<meta name="generator" content="The Name of My Site Here" />

Here’s how to do it…

FTP into your site and navigate to libraries/joomla/document/html/renderer and find the file called head.php.

On line 83, find this line of code:

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

and change it to:

$strHtml .= $tab.'<meta name="generator" content="The Name of Your Site Here" />'.$lnEnd;

That’ll do the trick.

Intuitive, huh?

Add Your Comment