Remove Joomla generator tag from site & RSS – Joomla 1.5, 1.7 & 2.5

Recently I wrote article about Hiding WordPress version in frontend, this time I’ll show how to do same in Joomla. Reason is also the same – security. When you create a website on Joomla x.x version, after some time that version becomes obsolete, thus without newest official security fixes and in the result – more likely vulnerable. If someone know’s exactly which version your website is running, hacking is easier (each version has its specific bugs) . Finding many Joomla websites (just based on generator tag) from the Internet is also easy.

So, if you don’t plan to upgrade all your Joomla installations and don’t want to have one of countless webs that just had hacked (  it happens),  then removing generator tag is essential.

So, let’s remove it

Open theme’s index.php and right before <jdoc:include type=”head” />  insert
<?php setMetaData('generator','my name');  ?> so it looks
<?php setMetaData('generator','my name'); ?> <jdoc:include type="head" >

Instead of my name use whatever you want or leave blank.
Some themes may have this code in included header file, so either you find and edit that file or check next option:

Using free plugin

ByeByeGenerator made by RicheyWeb , is free plugin that removes version from both site and RSS, without getting your hands dirty (Removing version from RSS feeds demands going deep in Joomla core files and after upgrading there is chance that you will have to edit again).
plugin for removing generator info

Plugin does the job, installation is easy. And it’s available for Joomla 1.5, 1.6, 1.7 and 2.5 versions.
Install and Publish, by default it removes generator tag, but by choosing Custom you can define custom content of tag. Also, it offers option to remove Robots tag.

So, remove Joomla generator tag, respect all other security issues and I give 99% that your Joomla website will be safe.