Codeigniter Menu

HTML CSS

Video

Sound

SEO


Jun 04
2011

Joomla Meta Tag Generator

Posted by bohemia in Untagged 

Remove Joomla Meta Tag Generator

If you view the source code after a Joomla installation, you will see:
<meta name="generator" content="Joomla! 1.5 - Open Source Content Management" />

If you want to remove this code, there are a couple of ways to do so.

Here is one simple method to remove the generator tag
1) Open the file:
/libraries/joomla/document/html/renderer/head.php
2) Comment the following line:
$strHtml .= $tab.'<meta name="generator" content="'.$document->getGenerator().'" />'.$lnEnd;

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

3) Save the file.


Comments (0)add comment

Write comment

busy