remove <meta name=
Moderator: General Support Moderators
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.
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.
-
- Joomla! Enthusiast
- Posts: 158
- Joined: Sun Oct 09, 2005 7:45 pm
remove <meta name=
I want to remove for security reasons:
-
- Joomla! Apprentice
- Posts: 47
- Joined: Sat Jan 27, 2007 8:13 am
- Contact:
Re: remove
You'll find it in /includes/frontend.php
1.0.12 line 195
comment it out with "//"
1.0.12 line 195
comment it out with "//"
- Chris
- Joomla! Guru
- Posts: 812
- Joined: Sat Aug 20, 2005 3:58 am
- Location: Australia
- Contact:
Re: remove
Sorry, this is the Joomla 1.5 forum and there is no /includes/frontend.phptrgraglia wrote: You'll find it in /includes/frontend.php
1.0.12 line 195
comment it out with "//"
There is no failure until you give up.
Chris
Chris
-
- Joomla! Explorer
- Posts: 347
- Joined: Wed Sep 27, 2006 11:55 pm
Re: remove
Why would you like to do that?Smile wrote: I want to remove for security reasons:
You can find the generator in line 69 in file libraries\joomla\document\html\renderer\head.php
-
- Joomla! Enthusiast
- Posts: 158
- Joined: Sun Oct 09, 2005 7:45 pm
Re: remove
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.StarShaper wrote:Why would you like to do that?Smile wrote: I want to remove for security reasons:
You can find the generator in line 69 in file libraries\joomla\document\html\renderer\head.php
-
- Joomla! Apprentice
- Posts: 29
- Joined: Sun Sep 10, 2006 11:52 pm
Re: remove
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.
to narrow his attack window and focus his attacks to the known platform.
-
- Joomla! Apprentice
- Posts: 43
- Joined: Wed Mar 21, 2007 9:57 am
Re: remove
I still cant locate it doesnt seem to be in that file in RC3
-
- Joomla! Fledgling
- Posts: 1
- Joined: Tue Oct 30, 2007 1:01 am
Re: remove
Find in /libraries/joomla/document/html/renderer/head.php
Remove it.
YEA! My first post.
Code: Select all
$strHtml .= $tab.'<meta name="generator" content="'.$document->getGenerator().'" />'.$lnEnd;
YEA! My first post.
-
- Joomla! Apprentice
- Posts: 11
- Joined: Wed Jun 11, 2008 5:46 pm
Re: remove <meta name=
bump.
what about Joomla 1.0.15 ?
what about Joomla 1.0.15 ?
-
- Joomla! Fledgling
- Posts: 2
- Joined: Sun Nov 02, 2008 6:59 am
-
- Joomla! Apprentice
- Posts: 11
- Joined: Wed Jun 11, 2008 5:46 pm
Re: remove <meta name=
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...
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...
- elmasry
- Joomla! Apprentice
- Posts: 31
- Joined: Fri Sep 14, 2007 2:29 pm
- Contact:
Re: remove <meta name=
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;
/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;
-
- Joomla! Enthusiast
- Posts: 141
- Joined: Wed Feb 11, 2009 3:38 am
Re: remove <meta name=
/libraries/joomla/document/document.php
i also found it here in my template.
search for META NAME
and look below
JOOMLA 1.5 TEMP
i also found it here in my template.
search for META NAME
and look below
JOOMLA 1.5 TEMP
-
- Joomla! Enthusiast
- Posts: 233
- Joined: Sat Feb 18, 2006 3:31 pm
Re: remove <meta name=
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.
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.
-
- Joomla! Apprentice
- Posts: 5
- Joined: Thu Dec 31, 2009 5:59 am
Re: remove <meta name=
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
in line between 80-90 find text var $_generator = 'Joomla 1.5 ! Open Source Content Management.';
change it !
For JOOMLA 1.5
-
- Joomla! Apprentice
- Posts: 5
- Joined: Thu Dec 31, 2009 5:59 am
Re: remove <meta name=
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! Fledgling
- Posts: 2
- Joined: Sat May 05, 2007 3:04 am
Re: remove <meta name=
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
$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
- costicanu
- Joomla! Apprentice
- Posts: 26
- Joined: Mon Jan 12, 2009 9:05 pm
- Location: Ploiesti, Romania
- Contact:
Re: remove <meta name=
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!
Removing only the generator meta tag by placing $this->setGenerator(null); at the top of the template file, works!
- ribo
- Joomla! Virtuoso
- Posts: 3507
- Joined: Sun Jan 03, 2010 8:47 pm
- Contact:
Re: remove <meta name=
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