ADDTODOC-PREPEND-BODY
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;

Set as favorite
Bookmark
Email This
Hits: 857
Trackback(0)
TrackBack URI for this entry
Comments (0)
Subscribe to this comment's feed Show/Hide comments
Write comment Name Email Website Title Comment smaller | bigger
Subscribe via email (Registered users only) I have read and agree to the Terms of Usage.
Write the displayed characters

Add Comment Please enable JavaScript to post a new comment
jc_loadUserInfo();
ADDTODOC-APPEND-BODY