The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Security Checklist
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 19 posts ] 
Author Message
 Post subject: remove <meta name=
PostPosted: Thu Aug 16, 2007 10:17 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sun Oct 09, 2005 7:45 pm
Posts: 157
I want to remove for security reasons:


Top
 Profile  
 
 Post subject: Re: remove
PostPosted: Tue Aug 21, 2007 4:41 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Jan 27, 2007 8:13 am
Posts: 47
You'll find it in /includes/frontend.php

1.0.12 line 195

comment it out with "//"


Top
 Profile  
 
 Post subject: Re: remove
PostPosted: Wed Aug 22, 2007 5:48 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Sat Aug 20, 2005 3:58 am
Posts: 788
Location: Australia
trgraglia wrote:
You'll find it in /includes/frontend.php

1.0.12 line 195

comment it out with "//"


Sorry, this is the Joomla 1.5 forum and there is no /includes/frontend.php

_________________
My component http://coptic.pageshere.com


Top
 Profile  
 
 Post subject: Re: remove
PostPosted: Wed Aug 22, 2007 9:18 am 
Joomla! Explorer
Joomla! Explorer

Joined: Wed Sep 27, 2006 11:55 pm
Posts: 347
Smile wrote:
I want to remove for security reasons:



Why would you like to do that?  :)

You can find the generator in line 69 in file libraries\joomla\document\html\renderer\head.php


Top
 Profile  
 
 Post subject: Re: remove
PostPosted: Sat Aug 25, 2007 12:55 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sun Oct 09, 2005 7:45 pm
Posts: 157
StarShaper wrote:
Smile wrote:
I want to remove for security reasons:



Why would you like to do that?  :)

You can find the generator in line 69 in file libraries\joomla\document\html\renderer\head.php


As I said I would like to remove it for security reasons that everyone who views source would not see that joomla is being used.


Top
 Profile  
 
 Post subject: Re: remove
PostPosted: Thu Sep 06, 2007 7:48 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Sep 10, 2006 11:52 pm
Posts: 29
I think including the generator tag is fine for bloggers, but not for corporate sites.  A potential attacker can use these details
to narrow his attack window and focus his attacks to the known platform.


Top
 Profile  
 
 Post subject: Re: remove
PostPosted: Wed Nov 07, 2007 8:15 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Mar 21, 2007 9:57 am
Posts: 43
I still cant locate it doesnt seem to be in that file in RC3


Top
 Profile  
 
 Post subject: Re: remove
PostPosted: Sun Nov 25, 2007 11:53 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Oct 30, 2007 1:01 am
Posts: 1
Find in /libraries/joomla/document/html/renderer/head.php

Code:
$strHtml .= $tab.'<meta name="generator" content="'.$document->getGenerator().'" />'.$lnEnd;


Remove it.

YEA! My first post.


Top
 Profile  
 
 Post subject: Re: remove <meta name=
PostPosted: Mon Jun 16, 2008 6:04 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Jun 11, 2008 5:46 pm
Posts: 11
bump. :)

what about Joomla 1.0.15 ?


Top
 Profile  
 
 Post subject: Re: remove <meta name=
PostPosted: Sat Nov 08, 2008 11:32 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun Nov 02, 2008 6:59 am
Posts: 2
viewtopic.php?f=42&t=297224

has details about 1.0.15


Top
 Profile  
 
 Post subject: Re: remove <meta name=
PostPosted: Sun Nov 30, 2008 11:14 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Jun 11, 2008 5:46 pm
Posts: 11
no, it hasn't :)

i would really like to know how to remove that meta in 1.0.15. Thanks in advanced.

Sorry for bringing up an old topic...


Top
 Profile  
 
 Post subject: Re: remove <meta name=
PostPosted: Thu Jan 22, 2009 3:23 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Sep 14, 2007 2:29 pm
Posts: 31
edit:
/libraries/joomla/document/html/renderer/head.php

you will want to find the following code (~line 167):
$strHtml .= $tab.'<meta name="generator" content="'.$document->getGenerator().'" />'.$lnEnd;

you can turn it off by simply commenting the line with // at the beginning:
//$strHtml .= $tab.'<meta name="generator" content="'.$document->getGenerator().'" />'.$lnEnd;

_________________
http://www.Querier.net
Want to be heard? Get Interviewed now through email !


Top
 Profile  
 
 Post subject: Re: remove <meta name=
PostPosted: Mon Feb 23, 2009 9:19 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Wed Feb 11, 2009 3:38 am
Posts: 141
/libraries/joomla/document/document.php

i also found it here in my template.
search for META NAME
and look below
JOOMLA 1.5 TEMP

_________________
Paddock
http://www.twitter.com/boycottfootball


Top
 Profile  
 
 Post subject: Re: remove <meta name=
PostPosted: Thu Jul 16, 2009 12:34 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sat Feb 18, 2006 3:31 pm
Posts: 232
I know this is an old thread, but I am posting this link here in case anyone finds it looking for an answer. This is for J!1.5:

http://www.theartofjoomla.com/home/19-d ... r-tag.html

Or just do a search in your favorite search engine, and you will lots of the same or similar answers on lots of different web sites.

The beauty of adding this to your template is that the core files are left alone, so nothing to remember to change when you do a J! update.


Top
 Profile  
 
 Post subject: Re: remove <meta name=
PostPosted: Thu Dec 31, 2009 6:04 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Dec 31, 2009 5:59 am
Posts: 5
open " includes/joomla/document/document.php "
in line between 80-90 find text var $_generator = 'Joomla 1.5 ! Open Source Content Management.';

change it !

For JOOMLA 1.5


Top
 Profile  
 
 Post subject: Re: remove <meta name=
PostPosted: Sun Jan 10, 2010 3:43 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Dec 31, 2009 5:59 am
Posts: 5
open " includes/joomla/document/document.php "
in line between 80-90 find text var $_generator = 'Joomla 1.5 ! Open Source Content Management.';

change it !


Top
 Profile  
 
 Post subject: Re: remove <meta name=
PostPosted: Mon Jan 25, 2010 4:43 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sat May 05, 2007 3:04 am
Posts: 2
In Joomla 1.0.15, the code is located in /includes/frontend.php line 195. It says:"
$mainframe->addMetaTag( 'Generator', $_VERSION->PRODUCT . ' - ' . $_VERSION->COPYRIGHT);"

Comment out, or adjust to your liking...

I was looking for that myself. I have a feeling I really really need to consider J1.5...

Fabien Papleux
@itilgeek


Top
 Profile  
 
 Post subject: Re: remove <meta name=
PostPosted: Tue Sep 20, 2011 7:28 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Jan 12, 2009 9:05 pm
Posts: 26
Location: Ploiesti, Romania
Even if it's an old subject, it is still searched. I saw few plugins in joomla extensions site that removes that meta tag and even a Joomla header variable that is created when using Gzip.

Removing only the generator meta tag by placing $this->setGenerator(null); at the top of the template file, works!


Top
 Profile  
 
 Post subject: Re: remove <meta name=
PostPosted: Wed Nov 07, 2012 10:09 pm 
Joomla! Explorer
Joomla! Explorer

Joined: Sun Jan 03, 2010 8:47 pm
Posts: 372
it s better to use a plugin for this so you don t modify every update you make

_________________
chat room spontes : http://www.spontes.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ] 



Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group