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.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.