Categories
Joomla!

Removing or changing the GENERATOR meta tag

You may prefer not to have the generator meta tag in the <head> section of your source code reveal what you've used to create your website.

To change this, insert the following  line immediately above the <head> line in the index.php file of your template, where text is your preferred text. You can also choose to leave it blank.

<?php $this->setGenerator('text'); ?>

Doing this in the template means your changes will not be overwritten when you upgrade the Joomla! core, but if you change templates make sure to change your new template.

Applies to Joomla! 1.5.

Leave a Reply