Joomla Tutor

IconFree Tutorial, Download,Install Templates, Component, Module, Mambots, Customize CMS Joomla ...

How to remove meta tag "generator" in Joomla?


Joomla Generator Tag

Joomla produces some meta tags by default. One of them is "generator" tag. You can see the code by opening Page Source in your Browser. This is the line we want to get rid of:




<meta name="Generator" content="Joomla! - Copyright (C) 2005 - 2006 Open Source Matters. All rights reserved." />

Removing the code
We will remove this code by commenting out a line in file called frontend.php. It`s located in includes folder. If you have a local Joomla installation just edit the file, if your files are online, use FTP Client to download and then upload the file.

All you have to do is open file frontend.php and find the line called

$mainframe->addMetaTag( 'Generator', $_VERSION->PRODUCT . " - " . $_VERSION->COPYRIGHT);


when you locate, it put // before this line.
Save the file, and refresh your site. The line should now be gone.

Related Posts ...

 
 
 
 

Post a Comment 0 comments:

Post a Comment

Give your comment or question about joomla