[ Tutorial ] - Remove Joomla Meta Tag "generator" in Joomla 2.5
- Font size: Larger Smaller
- Hits: 11990
- 4 Comments
- Subscribe to this entry
- Bookmark
In the installation of Joomla 2.5, the Joomla Meta Tag "generator" will set automatically by Joomla. This tutorial shows you, how can you remove this Meta Tag and minimize thereby your source code. Besides, by removing the Joomla Meta Tag "generator", the explizite search after Joomla CMS Websites by hackers becomes more difficult.
The Joomla Meta Tag "generator":
Joomla create following meta tag in the installation:
meta name="generator" content="Joomla! - Open Source Content Management"
You can find this meta tag in the head section of your source code.
The Joomla Meta Tag "generator" is easy to remove:
Add following line in the source code of the index.php of your template:
$this->setMetaData('generator','');
Add it direct after the line:
defined('_JEXEC') or die;
If you did everything correctly, the Joomla Meta Tag "generator" should be no longer displayed.
Awesome men, it worked for me.
Pleasure