Joomla

Remove meta generator from Joomla Head Tag

Written by Abhilash SahooUpdated on October 11, 20204 min read
Remove meta generator from Joomla Head Tag

As Joomla CMS by default has a meta generator tag which shows that the website is developed using Joomla platform. For security, the purpose is it important to hide the meta generator joomla tag from the source code and stop letting users/hackers to know which version of CMS you are using. You can do the following to remove Joomla generator tag.

How to see the meta generator tag?

You can very easily find the meta tag generator in the page source code inside Joomla head <head></head> tag. To view the HTML source code :

  • Open the Joomla website in Firefox or Google Chrome browser.
  • Right Click on the webpage and view source code.
  • On top of the source codes, you will find the following
<meta name="generator" content="Joomla! - Open Source Content Management" />

How to remove Joomla meta generator from head?

You can remove Joomla generator tag from the Joomla website by either adding a few lines of code to the index.php file of the active Joomla template or by simply using a third-party plugin which will need no modification to any of the files.

To remove the meta generator tag using code

  1. Using your hosting cPanel or FTP open the template index.php file located at templates/YOUR_ACTIVE_TEMPLATE/ directory.
  2. Edit the file and add the following custom code into the <head> tag.
$document = JFactory::getDocument(); $document->setGenerator('');
  1.  Save the file after adding the code.
  2. On clicking any of the menu items of the Joomla website, you won't find the meta tag anymore.

After Joomla update/upgrade if template gets updated, you might lose the changes that have been done to the template core files. So it's better to use a third-party plugin.

To remove the meta generator tag using Joomla Plugin

As you know that we can install third-party plugins into Joomla. The simplest way to remove the tag is to install one. Just download, install and activate the plugin does the work.
We have recently developed a free Joomla Plugin called Remove Tag Generator which can remove both generator meta tag as well as the Robots meta tag from the Joomla source code. The plugin isn't available in Joomla Extensions Directory. So, you can also search for other similar plugins and install it into your Joomla website.
Download the free Remove Tag Generator Plugin for Joomla 3.x

Will removing of Joomla meta tag generator impact SEO?

No, removing the meta tag generator will have any impact on Joomla SEO or any changes in the ranking of the website or the pages in Google.

Share the Article

Abhilash Sahoo

Abhilash Sahoo

Abhilash Sahoo, with over 14 years of experience, is a Certified Full Stack Developer and Application Development Expert. As the Founder & CEO of Infyways Solutions, he leads a team specializing in end-to-end web and application development solutions. Under his guidance, Infyways has become a trusted name in delivering scalable, innovative, and custom-tailored applications that meet the unique needs of businesses across industries