[How to] Remove the meta generator Joomla! - Open Source Content Management

You can remove or change the "meta generator Joomla! - Open Source Content Management"

Although (as you can probably tell), we have a love affair with the Joomla CMS, for various reasons, some times you don't want to show that your website is driven by Joomla. Something which will give away your content management system is the meta generator tag. Fortunately, it is very easy to remove this. 

There are two ways of doing this. The first way is to hack the core and remove the lines which generate this code. However, this will break when you perform an upgrade, and thus we will not even suggest it here ;) The second is to insert a very simple line in the head section of your Joomla template:

<?php $this->setGenerator('My Company Ltd or any generator which you prefer'); ?> 

This simple line will change the generator tag to anything which you put in between the quotes. 

The following is how it will look on the default rhuk_milkayway template:

...<jdoc:include type="head" />
<?php $this->setGenerator('My Company Ltd or any generator which you prefe'); ?>
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" />... 

 

You can also choose to add this in your index.php for Joomla 2.5 templates

JFactory::getDocument()->setGenerator(''); 

Another trick to customize your Joomla website :) 

 

 

One more thing...

Do you have friends or a Facebook group who you think would find this useful? Share this with them and then let me know what they think.

Want to supercharge your website?

 
Our website loads FAST ... just 1.29 seconds. We're hosted on FAST InMotion VPS servers We want YOUR website to be fast too, so we've gotten you an exclusive deal - 47% OFF for DART Creations friends + FREE domain! Check it out NOW!
 

Translate

who are we?

DART Creations is run by David Attard - working in and around the web design niche for more than 12 years, we provide actionable tips for people who work with and on websites. We also run DronesBuy.net - a website for drone hobbyists

David attard

Follow us on Social

         

 

 

 

Popular Content

Joomla extensions to take your website to the NEXT level

Is your Joomla website reaching its full potential? We install many of these extensions on almost ALL of our Joomla sites - why don't you check them out our list of Joomla Extensions and see whether you can take your site to the next level?

Where are we hosted?

This site is proudly powered by FAST VPS InMotion Servers and given an insane speed thanks to MaxCDN!

Web Hosting MaxCDN - Speed up your website

 

InMotion Hosting Review - Recommended Web Hosting servers for business, Joomla, WordPress and ecommerce websites.

InMotion Hosting Review

Advertise on DART-Creations.com

DART Creations is interested in developing partnerships with mutual benefit. If you like the stuff we publish and would like to develop a relationship, we'd be happy to hear from you. Go on - drop us a line - we'd love to hear from you :-)

The Outstanding HunGRYJPEG Bundles

AWESOMENESS! Bundles of premium font + graphic packs at more than 96% OFF!  Get this bundle for just $29 - This month ONLY!

The Hungry JPEG Awesome font bundles

New! DIVI 3.0 WordPress TeMPLATE + PageBuilder - 10% OFF Limited Launch offer

You'll surely create a perfect website with Divi 3.0!

Divi 3