FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!

Remove Generator meta tag




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:
Code:
<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
Code:
$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.

This applies to Joomla 1.0.x only
The method is different in Joomla 1.5

If you have any question please feel free to reply this topic.



0 blog comments below




FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.