Mind 2 Share All

Best Resources Share-center. Mind 2 Share everything you have............... Software's,Utilities,Web Templates,Animations,Videos,Music,Graphics,Scripts,Web Clones,Images,Tips,Tricks,Ideas,Stories,Novels,Poems,Projects,Adult,Jobs.............

Remove Meta Generator tag from Joomla 1.5

Many may find the inclusion of this meta tag to be inappropriate for their website. However, determining how to remove it is surprisingly difficult. Here is the recommended solution:

in your template, add the following above the tag:

setGenerator('Anything you want or leave empty'); ?>

thats it!

you can also edit the core joomla file, however this change will be lost if you upgrade the site!

The file you want to edit is called head.php and is found here:
/libraries/joomla/document/html/renderer/head.php

you will want to find the following code (~line 167):
$strHtml .= $tab.''.$lnEnd;

you can turn it off by simply commenting the line with // at the beginning:
//$strHtml .= $tab.''.$lnEnd;

0 comments:

Post a Comment