[ Tutorial ] - Remove Joomla Meta Tag "generator" in Joomla 2.5

Posted by on in Joomla General
  • Font size: Larger Smaller
  • Hits: 11990
  • 4 Comments
  • Subscribe to this entry
  • Print

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.

 

 

Last modified on
Rate this blog entry:

Comments

  • innocent101
    innocent101 Friday, 04 January 2013

    Awesome men, it worked for me.
    Pleasure

  • joom-friends
    joom-friends Tuesday, 19 March 2013

    Great.... The Best ever...

  • joom-friends
    joom-friends Tuesday, 11 June 2013

    Thanks!

  • joom-friends
    joom-friends Tuesday, 27 August 2013

    How to remove it from feed xml? like this : site.com/test?format=feed

Leave your comment

Guest Sunday, 22 December 2024

Shortcuts

Wohnung Löbau Auf wohnen-in-loebau.de finden Sie bestimmt Ihre neue Wohnung in Löbau.