How to remove meta tag “generator” in Joomla 1.5
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'); ?>
Done
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>
Save and Done
Possibly Related posts:
- Joomla Direct Access to This Location Is Not Allowed Error
After installing Joomla! 1.5, i encountered the following warning message saying “Direct Access to this location is not allowed” when changing the template to which... - Changing “Remember Me” text string in user box in Joomla 1.5
I wanted to change “Remember Me” text in the user login box in Joomla 1.5 to just “Remember” so that it should fit with the... - Editing Read more text and template files HTML in Joomla 1.5
In my latest Joomla 1.5 website i wanted to change “Read more…” text to “Click to continue…”. In fact I did not like the wide... - Hindi language plugin for Joomla
Check this really cool tinyMCE extension to make your Joomla post content to appear in Hindi. It supports as many as Eight Indian languages including... - How to remove html { margin-top: 28px !important; } from wordpress header
To remove html { margin-top: 28px !important; } from wordpress header go to /wp-includes/admin-bar.php and edit around line 672 (in WordPress 3.3) Alternatly you can...
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.






Sweet job , it even worked for joomla 1.6!
Thank you
thanks for sharing,