Saturday, January 10, 2015

How to Change your Joomla Meta Content Generator

I know a lot of Joomla Developers would want to change this to either say something else or just get rid of it,  and don't want to get into installing a third party extension. 

Here's an easy way to do this, roll up your sleeves lets write just 2 lines of Php code to get the magic done.

--> go to your template index.php file and add this line to your header section.
                   <?php $this->setGenerator(' type what you want to appear here '); ?> 
                           <?php $this->setGenerator(' ALagiboy '); ?>
will appear as 
                           < meta name="generator" content="Alagiboy" />


No comments:

Post a Comment