How to change this? <meta name="Generator" content="Joomla!

Discuss the development and implementation of Joomla! 1.0.x templates here.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
User avatar
Artisan Web
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Wed Jul 13, 2011 10:53 pm
Location: Southern Vermont
Contact:

Re: How to change this? <meta name="Generator" content="Joom

Post by Artisan Web » Wed Jul 13, 2011 11:19 pm

kamleshpatidar your post was effective. I copied it and inserted it into the php at the top of my index.php file - which is a custom template file. I then changed the key words and website addresses to reflect my business and it works beautifully. Google is already taking note.

Thanks,

Dawn

neurons
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Nov 30, 2011 6:06 pm

Re: How to change this? <meta name="Generator" content="Joom

Post by neurons » Wed Nov 30, 2011 6:35 pm

You can also use the SEO Boss component: http://extensions.joomla.org/extensions ... data/16440
It allows to change any meta information (like <meta name="Generator"... /> ) on frontend pages without changing template code.

Image

Makis77
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 117
Joined: Wed Feb 01, 2006 10:52 pm
Location: Athens, Greece
Contact:

Re: How to change this? <meta name="Generator" content="Joom

Post by Makis77 » Mon Feb 20, 2012 9:15 pm

Open head.php with an editor and look for code:
<head>
press enter and in the new line insert this code if you dont want to have the generator meta name at all:

Code: Select all

<?php
$this->setGenerator(null);
?>
or this code if you want to have your custom meta name generator(for ex "whateva"):

Code: Select all

<?php
$this->setGenerator("whatever");
?>
Save file and upload it back to your website and refresh url in browser to preview changes.

I ve written a simple guide about changing Joomla meta name generator, but I think this post and topic will cover your needs already.
zenith20 wrote: so, i found some head.php, could you please tell me which one?! besides this, they're read only files (i'm editing it on my localhost)

thank you in advance,
Zenith

User avatar
kaviarasankk
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Sun Sep 18, 2011 8:38 am
Location: India

Re: How to change this? <meta name="Generator" content="Joom

Post by kaviarasankk » Thu Feb 23, 2012 4:03 am

Great Makis77
This is really dynamic cool

KaviarasanKK

User avatar
MikeHell
Joomla! Apprentice
Joomla! Apprentice
Posts: 43
Joined: Tue Mar 13, 2007 12:52 am
Contact:

Re: How to change this? <meta name="Generator" content="Joom

Post by MikeHell » Tue Feb 28, 2012 5:08 am

Everyone who is advising others to use the set generator method to remove or override the Joomla generator metatag , take note that this is actually a Joomla 1.0 forum, not Joomla 1.5.

Using setGenerator wil produce a 'fatal error' in joomla 1.0 sites.

Code: Select all

$this->setGenerator("whatever");

Code: Select all

Fatal error: Using $this when not in object context in ...\index.php on line 18
Please be more careful when posting code that you actually understand which versions you are working with, to avoid breaking people's sites.
:: http://xsitech.com/ - Custom Web Designs - Joomla Templates ::
:: http://blocklistpro.com/ - Blocklist Internet Security Solutions ::

Makis77
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 117
Joined: Wed Feb 01, 2006 10:52 pm
Location: Athens, Greece
Contact:

Re: How to change this? <meta name="Generator" content="Joom

Post by Makis77 » Sat Mar 03, 2012 10:54 pm

Thanks MikeHell!
I knew this would happen, forums structure are far more simple making it a living hell sometimes.


Locked

Return to “Templates & CSS - 1.0.x”