Joomla Mafia -> Guides -> How To -> How to Remove Genrated by Joomla
Close Panel

Mafia Icons

Created with Mafia Icons
AddThis
Club Extensions
iJoomla

iwebtools

Alexa Certified Site Stats for www.joomlamafia.com

DownDoggy.com

How to Remove Genrated by Joomla PDF Print E-mail
Friday, 15 August 2008 23:15

So you want to remove the geneerated tag

 <meta name="generator" content="Joomla! 1.5 - Open Source Content Management">

Personaly, I think you should leave the joomla code, I mean after all give credit to the CMS

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 <head> tag:

<?php $this->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.'<meta name="generator" content="'.$document->getGenerator().'" />'.$lnEnd;

you can turn it off by simply commenting the line with // at the beginning:
//$strHtml .= $tab.'<meta name="generator" content="'.$document->getGenerator().'" />'.$lnEnd;

Trackback(0)
Comments (0)Add Comment

Write comment
quote
bold
italicize
underline
strike
url
image
quote
quote
smile
wink
laugh
grin
angry
sad
shocked
cool
tongue
kiss
cry
smaller | bigger

security code
Write the displayed characters


busy
Last Updated on Friday, 15 August 2008 23:38
 
Page copy protected against web site content infringement by Copyscape
Copyright © 2008 . Joomla Mafia 1.5.7 Tutorials Tips Tricks & more.
Club Templates

Joomla Mafia Supporter

Joomla Mafia Supporter

Joomla Mafia Supporter

JoomlaMafia Supporter

JoomlaMafia Supporter

JoomlaMafia Supporter

Template Plazza

JoomlaMafia Supporter

Recommended Web Hosting

Site Ground

Host Gator


View my page on PickensPlan

Please Take The Poll

New Site
 
Join Our Newsletter