Want To remove meta name="title"

Discuss Search Engine Optimization in relation to Joomla!. This forum will also have discussions on SEF/SEO Joomla! extensions.

Moderator: General Support Moderators

Locked
arif165
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Mon Mar 05, 2012 8:35 pm

Want To remove meta name="title"

Post by arif165 » Mon Mar 05, 2012 10:14 pm

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

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 28202
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: Want To remove meta name="title"

Post by imanickam » Tue Mar 06, 2012 3:17 am

You could edit the file head.php located in the directory \libraries\joomla\document\html\renderer and comment the following line of code.

Code: Select all

		$strHtml .= $tab.'<title>'.htmlspecialchars($document->getTitle()).'</title>'.$lnEnd;
Note: Make sure to take a copy of the file before editing it.
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

arif165
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Mon Mar 05, 2012 8:35 pm

Re: Want To remove meta name="title"

Post by arif165 » Tue Mar 06, 2012 11:34 am

imanickam wrote:You could edit the file head.php located in the directory \libraries\joomla\document\html\renderer and comment the following line of code.

Code: Select all

		$strHtml .= $tab.'<title>'.htmlspecialchars($document->getTitle()).'</title>'.$lnEnd;
Note: Make sure to take a copy of the file before editing it.
Thanks imanickam for Quick Respose
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

arif165
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Mon Mar 05, 2012 8:35 pm

Re: Want To remove meta name="title"

Post by arif165 » Wed Mar 07, 2012 1:12 pm

Any one Please Help Me. I am Really Stuck with this

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 28202
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: Want To remove meta name="title"

Post by imanickam » Wed Mar 07, 2012 5:31 pm

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:

Code: Select all

					$strHtml .= $tab.'<meta name="'.$name.'" content="'.str_replace('"',"'",$content).'"'.$tagEnd.$lnEnd;
After the introduction of IF statement:

Code: Select all

					if ($name != 'title') {
					$strHtml .= $tab.'<meta name="'.$name.'" content="'.str_replace('"',"'",$content).'"'.$tagEnd.$lnEnd;
					}
Note: Make a copy of the file before editing it.
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

arif165
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Mon Mar 05, 2012 8:35 pm

Re: Want To remove meta name="title"

Post by arif165 » Thu Mar 08, 2012 1:40 am

Thank You Very Much Sir
Job done.
I really Appreciate this

User avatar
kelecz
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Fri Nov 06, 2009 8:31 pm
Location: Belgrade, Serbia
Contact:

Re: Want To remove meta name="title"

Post by kelecz » Fri Oct 24, 2014 9:50 am

Dear Sir,

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>
I want to remove " - Category Index", and "-Serbian Latin".

Thx in advance

PS. www.konji.rs
Joomla 2.5.27

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 28202
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: Want To remove meta name="title"

Post by imanickam » Fri Oct 24, 2014 12:40 pm

Suggest looking at two different places:
  1. In the Global Configuration - especially in the section Metadata Settings that is in the tab Site
  2. 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

User avatar
kelecz
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Fri Nov 06, 2009 8:31 pm
Location: Belgrade, Serbia
Contact:

Re: Want To remove meta name="title"

Post by kelecz » Mon Oct 27, 2014 11:31 pm

Thank you for reply.
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.


Locked

Return to “Search Engine Optimization (Joomla! SEO) in Joomla! 1.5”