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>
//$strHtml .= $tab.'<meta name="generator" content="'.$document->getGenerator().'" />'.$lnEnd;</meta>
Save and Done
Hello Friends, I’m Arvind Kumar, founder of Inimist Technologies, Inimist Academy, The Fundabook and many more. I am a Full Stack Web Developer and Programmer by heart, and a Hindi/English blogger by chance. I build Web and Mobile Application around React, VueJS, NodeJS and PHP frameworks.
Have a project in mind? Get in touch