7

Is it possible to get the generator tag removed from Joomla sites without interfering with the core framework. I personally feel this is an irritating aspect of the source code and makes websites easily attacked if some security flaw in a particular version is exploited.

To explain it in detail: If some flaw is exploited in, say Joomla 3.2, then all websites based on Joomla 3.2 are targets and those websites can easily be found using generator tags. So I want to get rid of them.

4 Answers 4

4

Once I have used a tiny plugin called ByeByeGenerator ( http://extensions.joomla.org/extensions/site-management/seo-a-metadata/generator-tag/12556 ), which removed the generator tag immediately!

Give it a try!

1
12

If you use a custom template (or you write your own) you can easily remove the generator tag by putting the following code at the top of your template's index.php file.

$this->setGenerator(null);

4
  • Only hindrance being if I am using third party template and update the same later, all my changes will be lost. Commented Apr 22, 2014 at 19:01
  • 2
    That's true. I'm commenting from a developer standpoint where we do full service Joomla for the client where we build the templates for them. I forget not everyone does that. Commented Apr 22, 2014 at 19:06
  • The following link WANT TO REMOVE THE GENERATOR META TAG FROM YOUR JOOMLA AND WORDPRESS PAGE CODING? may provide further insight to Don's answer. cmsenergizer.com/website-energy-guide/…
    – NivF007
    Commented Apr 25, 2014 at 2:08
  • Whilst the answer has already been accepted, this is the best way to remove the generator tag.
    – Jeepstone
    Commented Apr 28, 2014 at 9:08
5

In the most current versions of Joomla (3.x), doesn't this setting in the Global Configuration do what you need, and hide the generator info:

screenshot from Joomla 3 Global Configuration "Show Joomla Version"

2
  • 1
    That's just the version number in the generator. The generator meta tag still shows with Joomla in. Just without a version number. Commented Apr 24, 2014 at 1:15
  • 1
    I would agree with what you hopped, this should hide it but it just hides the version. My guess is that by keeping the generator tag they can use google or a spider to find how many sites are running joomla so it doesnt server the marketing to have an option to remove it Commented Apr 29, 2014 at 8:41
0

There is another free alternative to ByeBye Generator, as it's functionality is a bit limited. The Joomla metadata suite plugin allows you to remove the generator tag or brand it.

You can also remove the author tag, and add in additional metadata items for your social profiles.

Download: https://webdesignandcompany.com/products/joomla-metadata-suite/

Hope this helps.

2
  • 2
    Link didn't work for me
    – TryHarder
    Commented Mar 2, 2016 at 22:51
  • The website dos not seem contactable right now. Commented Mar 3, 2016 at 6:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.