Thursday, November 10, 2011

How to Remove the META GENERATOR Tag in Joomla 1.7

How to remove and replace Meta Tag Generator Information in Joomla 1.7

<meta name="generatorcontent="Joomla! 1.7 - Open Source Content Management" />

In Joomla 1.7, the system automatically creates a META Generator tag that you might want to change or hide.
The default tag looks like this:
<meta name="generator" content="Joomla! 1.7 - Open Source Content Management" />
There is no way within Joomla to change or remove this tag, so you have to put a little line of PHP in your template.
Edit your template and look for this line:
<jdoc:include type="head" />
Just above that line, paste in the following : 
<?php $this->setMetaData('generator','my site'); ?>
The two lines together should look like this:
<?php $this->setMetaData('generator','my site'); ?>
<jdoc:include type="head" />
In the above code, substitute your custom generator tag value in place of the words my site. You May write your domain name in place of this meta tag.
Because this hack is in your template, you don’t have to worry about the next upgrade to Joomla overwriting hacked core files.
Enjoy Joomla Platform and Make World More Informed with a lot of Joomla Based CMS...

6 comments:


  1. I really really understood for this topics.We share for wonderful manner.Thanks a lot.
    oracle training in chennai | oracle training

    ReplyDelete
  2. Thusly, you can apply what you are realizing straightaway, commit the inescapable errors and right them at the same moment (by auditing that part of the Joomla Tutorials
    exercise or guide). Without a practice webpage setup, you might invest significantly more energy and might even surrender when you in the long run begin to fabricate Joomla sites.

    ReplyDelete
  3. More articles should be written and you have just found a follower.and more visit
    http://hadooptraininginhyderabad.co.in/salesforce-training-in-hyderabad/

    ReplyDelete
  4. Excellent post, I am very impressed with your content. Thanks for sharing. Also
    try COC Mod.

    ReplyDelete

I Tech - Technology Updates's Facebook Wall