There are two ways you can remove the meta generator tag in Joomla 1.7 and 2.5.

The default tag looks like this:

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


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

1. The first way will completely remove the generator meta tag from Joomla.

A. Open /libraries/joomla/document/html/renderer/head.php with your favor editor and search for "generator" (in line 99 in Joomla 2.5).
B. Add // to the beginning of the line:

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

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

Save and Done!

2. The second method, but not the best, is to edit your template.


Look for this line:

<jdoc:include type="head" />

Just above that line, paste in the following :

<?php $this->setMetaData('generator','my site'); ?>

The two lines together should look like this:

<?php $this->setMetaData('generator','my site'); ?>

<jdoc:include type="head" />

That's it and its all done!