How to change this? <meta name="Generator" content="Joomla!
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
-
- Joomla! Enthusiast
- Posts: 179
- Joined: Mon Feb 20, 2006 10:53 pm
How to change this? <meta name="Generator" content="Joomla!
How to change this? <meta name="Generator" content="Joomla! - Copyright (C) 2005 - 2007 Open Source Matters. All rights reserved." />
-
- Joomla! Explorer
- Posts: 449
- Joined: Sat Feb 02, 2008 12:39 pm
- Location: England
- Contact:
Re: How to change this? <meta name="Generator" content="Joomla!
You can amend the Meta tags inside your control panel. Click on Global Settings and they are in there.
Michael Edwards - UK Web developer and Designer - http://www.michaeledwards.me.uk
-
- Joomla! Enthusiast
- Posts: 179
- Joined: Mon Feb 20, 2006 10:53 pm
Re: How to change this? <meta name="Generator" content="Joomla!
Hi, well what i can see you can only set the in under the button "Metadata"
Global Site Meta Description and Global Site Meta Keywords
The content as i describe are not there to change?
Global Site Meta Description and Global Site Meta Keywords
The content as i describe are not there to change?
- MikeHell
- Joomla! Apprentice
- Posts: 43
- Joined: Tue Mar 13, 2007 12:52 am
- Contact:
Re: How to change this? <meta name="Generator" content="Joomla!
Look in the file includes/frontend.php - on line 195. If you just want to remove it then you can comment it out.
// $mainframe->addMetaTag( 'Generator', $_VERSION->PRODUCT . ' - ' . $_VERSION->COPYRIGHT);
// $mainframe->addMetaTag( 'Generator', $_VERSION->PRODUCT . ' - ' . $_VERSION->COPYRIGHT);
:: http://xsitech.com/ - Custom Web Designs - Joomla Templates ::
:: http://blocklistpro.com/ - Blocklist Internet Security Solutions ::
:: http://blocklistpro.com/ - Blocklist Internet Security Solutions ::
-
- Joomla! Apprentice
- Posts: 5
- Joined: Thu Jan 24, 2008 1:29 pm
- Location: Amsterdam, Netherlands
Re: How to change this? <meta name="Generator" content="Joomla!
And a better way would be.MikeHell wrote:Look in the file includes/frontend.php - on line 195. If you just want to remove it then you can comment it out.
// $mainframe->addMetaTag( 'Generator', $_VERSION->PRODUCT . ' - ' . $_VERSION->COPYRIGHT);
Goto your template and add the following:
Code: Select all
$document = &JFactory::getDocument();
/* @var $document JDocument */
$document->setGenerator('');
Oops..... Errmmm this works in J!1.5 I don't know if it will work in J!1.0
-
- Joomla! Fledgling
- Posts: 1
- Joined: Tue Jul 22, 2008 12:39 am
Re: How to change this? <meta name="Generator" content="Joomla!
Lets just assume I have no idea which file to update inthe teplate with this code....could you point me in the right direction?
Thanks
Thanks
-
- Joomla! Intern
- Posts: 73
- Joined: Tue Apr 10, 2007 3:10 pm
Re: How to change this? <meta name="Generator" content="Joomla!
this solved my problem
thanks for helpLook in the file includes/frontend.php - on line 195. If you just want to remove it then you can comment it out.
// $mainframe->addMetaTag( 'Generator', $_VERSION->PRODUCT . ' - ' . $_VERSION->COPYRIGHT);
-
- Joomla! Enthusiast
- Posts: 179
- Joined: Mon Feb 20, 2006 10:53 pm
Re: How to change this? <meta name="Generator" content="Joomla!
Has the includes/frontend change name in the latest joomla 1,5?
i can´t find it?
i can´t find it?
-
- Joomla! Apprentice
- Posts: 10
- Joined: Thu Jun 19, 2008 6:46 pm
Re: How to change this? <meta name="Generator" content="Joomla!
Try to edit the head.php in this location: /libraries/joomla/document/html/renderer/head.php.Has the includes/frontend change name in the latest joomla 1,5?
i can´t find it?
-
- Joomla! Apprentice
- Posts: 10
- Joined: Thu Jun 19, 2008 6:46 pm
Re: How to change this? <meta name="Generator" content="Joomla!
it is on line: 83
Before:
After:
Just comment it out "//"
Before:
Code: Select all
$strHtml .= $tab.'<meta name="generator" content="'.$document->getGenerator().'" />'.$lnEnd;
Code: Select all
//$strHtml .= $tab.'<meta name="generator" content="'.$document->getGenerator().'" />'.$lnEnd;
-
- Joomla! Enthusiast
- Posts: 179
- Joined: Mon Feb 20, 2006 10:53 pm
Re: How to change this? <meta name="Generator" content="Joomla!
Before i change this, Is there a change that 404SEF can change this automaticly ?? So i don´t have to do this?
- nyak
- Joomla! Intern
- Posts: 56
- Joined: Mon Nov 10, 2008 7:39 am
- Location: Indonesia
Re: How to change this? <meta name="Generator" content="Joomla!
Hi All,
Is there a problem a rise when we remove the code ?
Such in upgrade to newer version ?
Is there a problem a rise when we remove the code ?
Such in upgrade to newer version ?
-
- Joomla! Apprentice
- Posts: 10
- Joined: Thu Jun 19, 2008 6:46 pm
Re: How to change this? <meta name="Generator" content="Joomla!
Havent had to upgrade this install yet. The only thing that I can think of is you might have to go back in and re-comment out that line. I am running 1.5.7 and dont have any issues.
-
- Joomla! Enthusiast
- Posts: 144
- Joined: Fri Oct 13, 2006 3:58 am
- Contact:
Re: How to change this? <meta name="Generator" content="Joomla!
I just did
$document = &JFactory::getDocument();
/* @var $document JDocument */
$document->setGenerator('');
and it works perfectly and like he said, when u update u dont ahve to worry about changing the code.
$document = &JFactory::getDocument();
/* @var $document JDocument */
$document->setGenerator('');
and it works perfectly and like he said, when u update u dont ahve to worry about changing the code.
- trichnosis
- Joomla! Explorer
- Posts: 315
- Joined: Wed May 17, 2006 4:15 pm
Re: How to change this? <meta name="Generator" content="Joomla!
you can also apply the joomlawork sef patch. it will remove the generator tag
-
- Joomla! Explorer
- Posts: 335
- Joined: Thu Nov 27, 2008 8:18 pm
Re: How to change this? <meta name="Generator" content="Joomla!
where do you put this in the template? where in the code exactly? in the body.. before the body??lucard wrote:And a better way would be.MikeHell wrote:Look in the file includes/frontend.php - on line 195. If you just want to remove it then you can comment it out.
// $mainframe->addMetaTag( 'Generator', $_VERSION->PRODUCT . ' - ' . $_VERSION->COPYRIGHT);
Goto your template and add the following:This will not remove the generator tag but it will clear the contents. The big advantage is when you update joomla to a newer version ( which will happen in the future ) you don't have to redo all your changes in the code.Code: Select all
$document = &JFactory::getDocument(); /* @var $document JDocument */ $document->setGenerator('');
Oops..... Errmmm this works in J!1.5 I don't know if it will work in J!1.0
me lost.
-
- Joomla! Fledgling
- Posts: 2
- Joined: Sun Nov 16, 2008 9:40 pm
- Location: India
Re: How to change this? <meta name="Generator" content="Joomla!
myaviation wrote:where do you put this in the template? where in the code exactly? in the body.. before the body??lucard wrote:And a better way would be.MikeHell wrote:Look in the file includes/frontend.php - on line 195. If you just want to remove it then you can comment it out.
// $mainframe->addMetaTag( 'Generator', $_VERSION->PRODUCT . ' - ' . $_VERSION->COPYRIGHT);
Goto your template and add the following:This will not remove the generator tag but it will clear the contents. The big advantage is when you update joomla to a newer version ( which will happen in the future ) you don't have to redo all your changes in the code.Code: Select all
$document = &JFactory::getDocument(); /* @var $document JDocument */ $document->setGenerator('');
Oops..... Errmmm this works in J!1.5 I don't know if it will work in J!1.0
me lost.
i am running 1.5.9
See it below where to put it.
// SEO SECTION //
$seo = $this->params->get ("seo", "Joomla Software solutions Template"); # JUST FOLOW THE TEXT
$tags = $this->params->get ("tags", "Joomla Software, Joomla Templates, Youjoomla"); # JUST FOLOW THE TEXT
$slide_right = $this->params->get ("slide_right", "Watch Video");
$slide_bottom = $this->params->get ("slide_bottom", "Popular News");
#DO NOT EDIT BELOW THIS LINE
define( 'TEMPLATEPATH', dirname(__FILE__) );
include( TEMPLATEPATH.DS."settings.php");
include( TEMPLATEPATH.DS."styleswitcher.php");
require( TEMPLATEPATH.DS."suckerfish.php");
[code]$document = &JFactory::getDocument();
/* @var $document JDocument */
$document->setGenerator('');[/code]
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
its ok this resolves the prob. but i`ve another question,
if u look at the code now u`ll find this
Code: Select all
<meta name="generator" content="" />
or better would be if someone explain the purpose of this meta tag in joomla
-
- Joomla! Intern
- Posts: 98
- Joined: Fri Jan 25, 2008 8:12 am
- Location: Kuwait
- Contact:
Re: How to change this? <meta name="Generator" content="Joomla!
But what if I need to change the author code?
Mestslm Rady Be Tab3ek, 3sfor Fe El-7elm Masaknk :: Me7tar 3la Shat Shafayfk, Dh 3tor El Koon Men Ward
Rosheha Nasyeny Meen ANA!
My Hosting Company : http://www.sz4h.com
Rosheha Nasyeny Meen ANA!
My Hosting Company : http://www.sz4h.com
-
- Joomla! Fledgling
- Posts: 1
- Joined: Fri Oct 09, 2009 1:24 pm
- Location: Tamworth, UK
- Contact:
Re: How to change this? <meta name="Generator" content="Joomla!
Change this in the head.php file -
$strHtml .= $tab.'<meta name="generator" content="'.$document->getGenerator().'" />'.$lnEnd;
To this -
$strHtml .= $tab.'<meta name="generator" content="YOUR TEXT HERE" />'.$lnEnd;
To change (or add) a "author" tag... Copy above and paste it directly below, then change it to look like this
$strHtml .= $tab.'<meta name="author" content="YOUR TEXT HERE" />'.$lnEnd;
hope that helps
$strHtml .= $tab.'<meta name="generator" content="'.$document->getGenerator().'" />'.$lnEnd;
To this -
$strHtml .= $tab.'<meta name="generator" content="YOUR TEXT HERE" />'.$lnEnd;
To change (or add) a "author" tag... Copy above and paste it directly below, then change it to look like this
$strHtml .= $tab.'<meta name="author" content="YOUR TEXT HERE" />'.$lnEnd;
hope that helps
Please read forum rules regarding signatures: http://forum.joomla.org/viewtopic.php?t=65
-
- Joomla! Fledgling
- Posts: 2
- Joined: Wed Jun 18, 2008 3:17 pm
Re: How to change this? <meta name="Generator" content="Joomla!
Edit the index.php file of the default template on your site. The template should have a block of PHP at the top of the file starting with <?php and closing with ?>. Find this block and just before the closing PHP brace, insert the following lines of code:
// Remove the generator meta tag
$this->setGenerator(null);
Or to change it use:
// Change the generator meta tag
$this->setGenerator('My Text here');
Upgrade proof... if you don't change your template
// Remove the generator meta tag
$this->setGenerator(null);
Or to change it use:
// Change the generator meta tag
$this->setGenerator('My Text here');
Upgrade proof... if you don't change your template
-
- Joomla! Fledgling
- Posts: 1
- Joined: Mon May 05, 2008 8:18 am
Re: How to change this? <meta name="Generator" content="Joomla!
Add to the ward123 reply, you can set other meta tags as per your needs. For Example Robots, author contact, submission & all of that what do you want....
Just add your meta tag code after this code in your template/index.php
Code you have to add
Thanks,
Kamlesh Patidar
Just add your meta tag code after this code in your template/index.php
Code: Select all
<jdoc:include type="head" />
Code you have to add
Code: Select all
<?php
$this->setMetaData('robots', 'ALL' );
$this->setMetaData('author','www.kamleshpatidar.com');
$this->setMetaData('language','English');
$this->setMetaData('submission','http://www.thamesmarketing.com');
$this->setMetaData('contact','[email protected]');
$this->setMetaData('format','text/html');
$this->setMetaData('document-classification','Website Marketing & Software Development Company');
$this->setMetaData('document-distribution','Global');
$this->setGenerator('');
?>
Kamlesh Patidar
-
- Joomla! Apprentice
- Posts: 5
- Joined: Thu Dec 31, 2009 5:59 am
Re: How to change this? <meta name="Generator" content="Joomla!
open " includes/joomla/document/document.php "
in line between 80-90 find text var $_generator = 'Joomla 1.5 ! Open Source Content Management.';
change it !
in line between 80-90 find text var $_generator = 'Joomla 1.5 ! Open Source Content Management.';
change it !
-
- Joomla! Apprentice
- Posts: 33
- Joined: Mon Aug 03, 2009 12:04 am
Re: How to change this? <meta name="Generator" content="Joomla!
Madus,
Thank you, your code works great.
Thank you, your code works great.
-
- Joomla! Fledgling
- Posts: 2
- Joined: Fri Jan 29, 2010 2:17 am
- Contact:
Re: How to change this? <meta name="Generator" content="Joomla!
hi,
becareful changing joomla core can make you troubles later in upgardes.
this question is posted before in the forum, u should take a look before asking.
here is the answer of brian. (the joomla specialist)
brian a écrit:
There is a much easier way to do this without any "hacks" to the core joomla files. It's in my joomla hidden secrets presentation and only requires you to make a small modification to your site template.
In the <head> section of your template insert the following code
Code:
$this->setGenerator(null);
to remove the generator tag
or to be more funky
Code:
$this->setGenerator('Drupal');
You should NEVER hack core joomla files as you will potentialy lose any hacks when you do an upgrade
becareful changing joomla core can make you troubles later in upgardes.
this question is posted before in the forum, u should take a look before asking.
here is the answer of brian. (the joomla specialist)
brian a écrit:
There is a much easier way to do this without any "hacks" to the core joomla files. It's in my joomla hidden secrets presentation and only requires you to make a small modification to your site template.
In the <head> section of your template insert the following code
Code:
$this->setGenerator(null);
to remove the generator tag
or to be more funky
Code:
$this->setGenerator('Drupal');
You should NEVER hack core joomla files as you will potentialy lose any hacks when you do an upgrade
http://PSD.NEW.FR ---> Photoshop brushes & Graphics
http://tutoplus.[URL banned].com ---> Tutorials for photoshop, 3Ds Max, C4D, flash,...
http://tutoplus.[URL banned].com ---> Tutorials for photoshop, 3Ds Max, C4D, flash,...
-
- Joomla! Apprentice
- Posts: 15
- Joined: Tue Oct 20, 2009 7:01 pm
Re: How to change this? <meta name="Generator" content="Joomla!
Madus wrote:Change this in the head.php file -
$strHtml .= $tab.'<meta name="generator" content="'.$document->getGenerator().'" />'.$lnEnd;
To this -
$strHtml .= $tab.'<meta name="generator" content="YOUR TEXT HERE" />'.$lnEnd;
To change (or add) a "author" tag... Copy above and paste it directly below, then change it to look like this
$strHtml .= $tab.'<meta name="author" content="YOUR TEXT HERE" />'.$lnEnd;
hope that helps
This is Awesome! It works on my site. Thanks!!
- zenith20
- Joomla! Fledgling
- Posts: 4
- Joined: Tue Aug 11, 2009 8:30 am
Re: How to change this? <meta name="Generator" content="Joom
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)Madus wrote:Change this in the head.php file
thank you in advance,
Zenith
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sat Aug 28, 2010 12:31 pm
- Location: PH
- Contact:
Re: How to change this? <meta name="Generator" content="Joom
Thanks to this! I am a new joomla! user and I find this one a bit tricky yet fun to doMadus wrote:Change this in the head.php file -
$strHtml .= $tab.'<meta name="generator" content="'.$document->getGenerator().'" />'.$lnEnd;
To this -
$strHtml .= $tab.'<meta name="generator" content="YOUR TEXT HERE" />'.$lnEnd;
To change (or add) a "author" tag... Copy above and paste it directly below, then change it to look like this
$strHtml .= $tab.'<meta name="author" content="YOUR TEXT HERE" />'.$lnEnd;
hope that helps
Anyway, does it contribute to SEO if you change the
?$strHtml .= $tab.'<meta name="generator" content="'.$document->getGenerator().'" />'.$lnEnd;
Discover different aloe vera uses and what it can do to improve your health condition. Visit http://myaloeverauses.com
- jjpedersen
- Joomla! Intern
- Posts: 84
- Joined: Fri Mar 16, 2007 9:47 pm
Re: How to change this? <meta name="Generator" content="Joom
I also highly recommend this little plugin that will allow you change the default generator meta tag from meta name="generator" content="Joomla! 1.5 - Open Source Content Management" to anything you like!
http://extensions.joomla.org/extensions ... data/14368
http://extensions.joomla.org/extensions ... data/14368
-
- Joomla! Apprentice
- Posts: 5
- Joined: Tue Aug 17, 2010 11:29 pm
- Location: Ukraine
- Contact:
Re: How to change this? <meta name="Generator" content="Joom
Thank you so much!jjpedersen wrote:I also highly recommend this little plugin that will allow you change the default generator meta tag from meta name="generator" content="Joomla! 1.5 - Open Source Content Management" to anything you like!
http://extensions.joomla.org/extensions ... data/14368
-
- Joomla! Fledgling
- Posts: 2
- Joined: Wed Feb 02, 2011 8:04 am
Re: How to change this? <meta name="Generator" content="Joom
Simply add the following line inside the HEAD tags of your Template index.php file:
<?php $this->setGenerator('Change this to whatever you like or leave it blank'); ?>
This way IF you upgrade your CMS core the template file is not affected by the upgrade.
<?php $this->setGenerator('Change this to whatever you like or leave it blank'); ?>
This way IF you upgrade your CMS core the template file is not affected by the upgrade.