How to remove the meta name generator Joomla

After I made some minor tweaks on one of the websites I maintain, I finally had a chance to remove the meta generator in that site.
There’s an option for a template edit but I was feeling hardcore so I opt for a main code edit.

To fix that meta name generator find the file at:
/libraries/joomla/document/html/renderer/head.php

then find the exact code location around here;
$strHtml .= $tab.’getGenerator().’” />’.$lnEnd;

then comment is our by typing // at the beginning of the code like thisl
//$strHtml .= $tab.’getGenerator().’” />’.$lnEnd;

then try to view your source code.

Trackback URI | Subscribe to the comments through RSS Feed

Leave a Reply