Removing the Joomla generator tag
Written by Eli Aschkenasy
Monday, 22 November 2010 10:34
You might be inclined to remove the content generator tag that by default shows up in the source code like this:
<meta name="generator" content="Joomla! 1.5 - Open Source Content Management" />
Most likely you want to remove this line because you don't really want to announce the framework your site is running on (although this can be determined by other tell-tales such as the module/component inclusion).
The task is indeed quite simple:
In the index.php file of your template right at the top where the template is checking for a valid entry point and includes the following php code:
add following line right before the closing tag:
this will result in the following meta tag
<meta name="generator" content="" />
obviously you can the change that empty string in the setGenerator function to anything you like...
PS: I'm unclear as to the impact the generator tag has on SEO... if you do, please let me know!



