Want To remove meta name="title"
Moderator: General Support Moderators
-
- Joomla! Apprentice
- Posts: 11
- Joined: Mon Mar 05, 2012 8:35 pm
Want To remove meta name="title"
Hello,
I want to remove the meta name=title tag. I have read a lot of article but i did not find a solution. Any one Please Help me. I have done in Global configuration "Show Title Meta Tag=no" but the meta title tag still there with no hope.
My Url is http://www.footreview.net
Meta tags are
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="robots" content="index, follow, noodp, noarchive, noydir" />
<meta name="keywords" content="football, soccer, highlights, goals, live score, world cup 2014, bundesliga, premier league, serie a, la liga" />
<meta name="title" content="World of Football Highlights" />
<meta name="description" content="Latest football updates of all the major football leagues of the World" />
Thanks in Advance
Arif
I want to remove the meta name=title tag. I have read a lot of article but i did not find a solution. Any one Please Help me. I have done in Global configuration "Show Title Meta Tag=no" but the meta title tag still there with no hope.
My Url is http://www.footreview.net
Meta tags are
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="robots" content="index, follow, noodp, noarchive, noydir" />
<meta name="keywords" content="football, soccer, highlights, goals, live score, world cup 2014, bundesliga, premier league, serie a, la liga" />
<meta name="title" content="World of Football Highlights" />
<meta name="description" content="Latest football updates of all the major football leagues of the World" />
Thanks in Advance
Arif
- imanickam
- Joomla! Master
- Posts: 28202
- Joined: Wed Aug 13, 2008 2:57 am
- Location: Chennai, India
Re: Want To remove meta name="title"
You could edit the file head.php located in the directory \libraries\joomla\document\html\renderer and comment the following line of code.
Note: Make sure to take a copy of the file before editing it.
Code: Select all
$strHtml .= $tab.'<title>'.htmlspecialchars($document->getTitle()).'</title>'.$lnEnd;
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
-
- Joomla! Apprentice
- Posts: 11
- Joined: Mon Mar 05, 2012 8:35 pm
Re: Want To remove meta name="title"
Thanks imanickam for Quick Resposeimanickam wrote:You could edit the file head.php located in the directory \libraries\joomla\document\html\renderer and comment the following line of code.Note: Make sure to take a copy of the file before editing it.Code: Select all
$strHtml .= $tab.'<title>'.htmlspecialchars($document->getTitle()).'</title>'.$lnEnd;
This commenting out remove my page title. I don't want to remove my page title
But I want to remove <meta name="title" content="World of Football Highlights" />
Thanks in Advance
-
- Joomla! Apprentice
- Posts: 11
- Joined: Mon Mar 05, 2012 8:35 pm
Re: Want To remove meta name="title"
Any one Please Help Me. I am Really Stuck with this
- imanickam
- Joomla! Master
- Posts: 28202
- Joined: Wed Aug 13, 2008 2:57 am
- Location: Chennai, India
Re: Want To remove meta name="title"
What you could do is to add the following condition around the line of code that renders the meta tags.
Edit the file head.php that is located in the directory \libraries\joomla\document\html\renderer and change the line of code as follows:
Before the introduction of IF statement:
After the introduction of IF statement:
Note: Make a copy of the file before editing it.
Edit the file head.php that is located in the directory \libraries\joomla\document\html\renderer and change the line of code as follows:
Before the introduction of IF statement:
Code: Select all
$strHtml .= $tab.'<meta name="'.$name.'" content="'.str_replace('"',"'",$content).'"'.$tagEnd.$lnEnd;
Code: Select all
if ($name != 'title') {
$strHtml .= $tab.'<meta name="'.$name.'" content="'.str_replace('"',"'",$content).'"'.$tagEnd.$lnEnd;
}
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
-
- Joomla! Apprentice
- Posts: 11
- Joined: Mon Mar 05, 2012 8:35 pm
Re: Want To remove meta name="title"
Thank You Very Much Sir
Job done.
I really Appreciate this
Job done.
I really Appreciate this
- kelecz
- Joomla! Apprentice
- Posts: 13
- Joined: Fri Nov 06, 2009 8:31 pm
- Location: Belgrade, Serbia
- Contact:
Re: Want To remove meta name="title"
Dear Sir,
I see that you are very familiar with that. Please help me how can I change this:
I want to remove " - Category Index", and "-Serbian Latin".
Thx in advance
PS. www.konji.rs
Joomla 2.5.27
I see that you are very familiar with that. Please help me how can I change this:
Code: Select all
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Kategorije" />
<meta name="description" content="Kategorije - Forum za sve ljubitelje konja - Serbian Latin" />
<meta name="generator" content="Joomla! - Open Source Content Management" />
<title>Konji - Forum za sve ljubitelje konja - Category Index</title>
Thx in advance
PS. www.konji.rs
Joomla 2.5.27
- imanickam
- Joomla! Master
- Posts: 28202
- Joined: Wed Aug 13, 2008 2:57 am
- Location: Chennai, India
Re: Want To remove meta name="title"
Suggest looking at two different places:
- In the Global Configuration - especially in the section Metadata Settings that is in the tab Site
- In the default menu item (identified by a Golden Yellow Star) - especially in the tab/slide Page Display Options
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
- kelecz
- Joomla! Apprentice
- Posts: 13
- Joined: Fri Nov 06, 2009 8:31 pm
- Location: Belgrade, Serbia
- Contact:
Re: Want To remove meta name="title"
Thank you for reply.
Nope, that won't work.
See picture what I want to change.
Nope, that won't work.
See picture what I want to change.
You do not have the required permissions to view the files attached to this post.