How to remove meta tag “generator” in Joomla 1.5

Mar 18, 2014, by admin

Hi all today we are going to see is “How to remove meta tag “generator” in Joomla 1.5” hope you all like the post

On a page that is generated by Joomla, by default you will always see a meta tag like following

<meta name=”generator” content=”Joomla! 1.5 – Open Source Content Management” />

How can you remove it generator meta tag from Joomla 1.5?

There are two ways you can do it.

The easy way is go to Extensions >> Template Manager open your default template and click on “Edit HTML” add following one line of code anywhere between <head> and </head>

<?php $this->setGenerator(‘Your own words or leave it empty’); ?>

The second way will completely remove the generator meta tag from Joomla
Open /libraries/joomla/document/html/renderer/head.php with your favor editor
search for “generator” (around line 83-84).
add // to the beginning of the line

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

becomes

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

Hope this will help you lot for more updates like the page Bugtreat Technologies