Posted by Michael Garratt
Michael Garratt
Hotshot Developer creator
User is currently offline
on Friday, 15 April 2011
in Content Management Systems

How to remove the meta tag generator in Joomla

Have you ever viewed the page source of your Joomla based website?

If you have you would have noticed that there is the following line of code

.

meta-generator-joomla

Personally I always like to remove this partcular line of code so that it is a little bit more difficult for people to distinguish what content management system you are using for your website.

In order to remove this line of code you would need to do the following:

    1. Open your FTP client (eg: Filezilla) and log into your website.
    2. Navigate to libraries/joomla/document/html/renderer
    3. Open up the file head.php with your html editor (eg: Notepad)
    4. Search (Ctrl F) for the following text meta name="generator" that will be found around line 83 of the code.
    5. Now replace the entire line of code with the following /*$strHtml .= $tab.''.$lnEnd;*/ to comment out the line of code.

Before:

meta-generator-joomla-before

After:

meta-generator-joomla-after

  1. Finally save the file and re-upload it to your website.
Rate this blog entry
0 votes
blog comments powered by Disqus