If you look at the HTML of a typical Joomla site, you will notice the meta tag called generator in the head – it is set to “Joomla! 1.5 – Open Source Content Management”. I see no reason to give this information away, as it might ease the work of hackers – although they probably have plenty of other tools. Here how to disable the generator meta tag.In your template, find the index.php file. It will probably start with something like:

<?php
defined('_JEXEC') or die('Restricted access');
?>

To remove the generator meta tag simple change this to:

<?php
defined('_JEXEC') or die('Restricted access');
$this->setGenerator('Whatever you may like here');
?>

That’s it for today.



			

Posted Wednesday, April 29th, 2009 at 3:35 pm
Filed Under Category: Joomla
You can leave a response, or trackback from your own site.

0

Leave a Reply