How to remove meta tag "generator" in Joomla 1.5

On a page generated by Joomla! 1.5.X, in sursa paginii, o sa vezi un meta tag ca acesta: 1.5.x, the source page, you see a meta tag like this:

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

How to delete the tag that tells us anything? foarte simplu, sunt 2 cai: Simply, there are 2 ways:

Easiest way is to go to:

Extensions >> Template Manager to open the joomla template that is set to default (default template) and click on "Edit HTML".
Add the following line of code between <head> and </ head>

<?php   $this->setGenerator('your text or leave it blank'); ?>

That's all.

 

The second way is to delete all the meta tags in Joomla

Open /libraries/joomla/document/html/renderer/head.php search for "generator" and add // at the beginning of line

$strHtml .=$tab.'<meta name="generator" content="'.$document->getGenerator().'"/>'.$lnEnd;
//Becomes:
//$strHtml .=$tab.'<meta name="generator" content="'.$document->getGenerator().'"/>'.$lnEnd;


attitude blog

Feedback
My name is

 

Phone

 

Email

 

URL

 

Project Summary (details, timeline, budget, etc.)

 

Attach File (.doc, .docx, .pdf, .txt, .jpg only)