No <h1> tags in Joomla?

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

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
jdran
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 186
Joined: Thu Aug 16, 2012 5:32 pm

No <h1> tags in Joomla?

Post by jdran » Fri Sep 21, 2012 3:53 pm

I realized that my page doesn't show <h1> tags!

How can I make my articles' titles a <h1> tag? Currently it is set to <h2>..

Or do you have different else to recommend?

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24968
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: No <h1> tags in Joomla?

Post by pe7er » Fri Sep 21, 2012 4:05 pm

You can use template overrides and add <Hx> tags to the output of the components.
See: http://docs.joomla.org/How_to_override_ ... omla!_core
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

jdran
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 186
Joined: Thu Aug 16, 2012 5:32 pm

Re: No <h1> tags in Joomla?

Post by jdran » Fri Sep 21, 2012 6:22 pm

Isn't as easy as by first impression I had, but ok, I ll look on it when I find time. For the time being, it seems that I m gonna hide the titles and insert them into my articles as h1..

Edit: I wonder though why Joomla creators didn't take care an easier way to have h1 tags..

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30880
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: No <h1> tags in Joomla?

Post by Per Yngve Berg » Sat Sep 22, 2012 3:19 pm

The h1 tag is used for the Page Title. I guess you have turned it off at the menu item.
There is not a big deal if the h1 tag is missing SEO wise.

jdran
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 186
Joined: Thu Aug 16, 2012 5:32 pm

Re: No <h1> tags in Joomla?

Post by jdran » Sat Sep 22, 2012 7:13 pm

Betcha! That's was it..

samiam
Joomla! Apprentice
Joomla! Apprentice
Posts: 16
Joined: Thu Mar 04, 2010 5:38 pm

Re: No <h1> tags in Joomla?

Post by samiam » Mon Nov 05, 2012 6:43 pm

There is an excellent plug-in that solves this SEO failure in Joomla! this way a search engine would know that a page title is just that. Without an H1 tag for the title it's just another header among many (and why they are numbered 1,2,3 as in importance). I'm adding it here as I ran across this thread with just such an issue. The suggestion that it doesn't matter is wrong, at least regarding SEO.

http://extensions.joomla.org/extensions ... data/14835

SimonHayter
Joomla! Guru
Joomla! Guru
Posts: 530
Joined: Tue Nov 29, 2011 2:43 pm
Location: Bournemouth
Contact:

Re: No <h1> tags in Joomla?

Post by SimonHayter » Tue Nov 06, 2012 10:25 pm

Personally long as you have some tags on the page that'l work, too many people read bad advice. Google has changed, they have so many indicators which pickup on what the page is about,

Incoming Links
Outgoing Links
Social Mentions
Titles
Meta Decriptions
Alt Picture Tags
and most of all the content it self.

Theres many more signals that Google uses to establish what the page is about so even without h tags its still possible to rank well, just look at wikipedia for example they hardly use any.

Content > External SEO via Social Media + Links > Reputation > Good Rankings

User avatar
changlee
Joomla! Explorer
Joomla! Explorer
Posts: 470
Joined: Tue Nov 20, 2007 11:05 am
Location: Greece
Contact:

Re: No <h1> tags in Joomla?

Post by changlee » Sat Aug 17, 2013 7:08 pm

What is the best technique to change the article titles and at category blog to H1 headings?
If you do not programm your life, someone else will do it for you.
SMTP Newsletter APP: https://www.emailbat.com

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30880
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: No <h1> tags in Joomla?

Post by Per Yngve Berg » Sat Aug 17, 2013 7:53 pm

Add a Page Title to the Menu Item.

User avatar
changlee
Joomla! Explorer
Joomla! Explorer
Posts: 470
Joined: Tue Nov 20, 2007 11:05 am
Location: Greece
Contact:

Re: No <h1> tags in Joomla?

Post by changlee » Sat Aug 17, 2013 9:25 pm

Dear Per,
If I add a Page Title at the menu item, every article title in the category blog will be H1 tag?
If you do not programm your life, someone else will do it for you.
SMTP Newsletter APP: https://www.emailbat.com

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30880
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: No <h1> tags in Joomla?

Post by Per Yngve Berg » Sun Aug 18, 2013 5:14 am

h1 - Page Title
h2 - Article Title

There will be one h1 and repeated h2. That is the most desired set-up.
For a Single Article Layout, Add a Page Title and hide the Article Title.

To change it, an override of the layout in your template is required.
http://docs.joomla.org/How_to_override_ ... omla!_core

Some template do have a parameter to change it.

User avatar
changlee
Joomla! Explorer
Joomla! Explorer
Posts: 470
Joined: Tue Nov 20, 2007 11:05 am
Location: Greece
Contact:

Re: No <h1> tags in Joomla?

Post by changlee » Mon Aug 19, 2013 9:53 am

Dear Per,
I am using many categories blog menu items in my Joomla 2.5 website and I have zero H1 !!!

Can you please tell me specifically what steps have I to do in order to show in a clicked category blog menu item, the titles of the articles in H1

Thanks!
If you do not programm your life, someone else will do it for you.
SMTP Newsletter APP: https://www.emailbat.com

John081
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Fri Aug 23, 2013 11:16 am
Contact:

Re: No <h1> tags in Joomla?

Post by John081 » Wed Aug 28, 2013 5:09 pm

Check the template you are using for your website.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30880
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: No <h1> tags in Joomla?

Post by Per Yngve Berg » Wed Aug 28, 2013 6:52 pm

Your template must use overrides. See files in templates/<your template>/html/com_content

User avatar
changlee
Joomla! Explorer
Joomla! Explorer
Posts: 470
Joined: Tue Nov 20, 2007 11:05 am
Location: Greece
Contact:

Re: No <h1> tags in Joomla?

Post by changlee » Fri Nov 29, 2013 12:54 pm

So it is template's issue only?
If you do not programm your life, someone else will do it for you.
SMTP Newsletter APP: https://www.emailbat.com

User avatar
pishro
Joomla! Explorer
Joomla! Explorer
Posts: 301
Joined: Tue Oct 09, 2012 7:22 am

Re: No <h1> tags in Joomla?

Post by pishro » Fri Nov 29, 2013 4:33 pm

As most SEO experts believe, H1 tag on a website article title is given more weight by search engines, particularly Google. I believe it too.
But Joomla does not tag the article title with H1. Instead they enclose it with

Code: Select all

<td class="contentheading"></td>
Please send your comments about this, it is For me important to know your opinion on this item.
thank you

User avatar
changlee
Joomla! Explorer
Joomla! Explorer
Posts: 470
Joined: Tue Nov 20, 2007 11:05 am
Location: Greece
Contact:

Re: No <h1> tags in Joomla?

Post by changlee » Mon Dec 02, 2013 10:02 am

Yes, I see the contentheading too in all my article titles.

What is the best way to oprimise them to H1 tags?
If you do not programm your life, someone else will do it for you.
SMTP Newsletter APP: https://www.emailbat.com

User avatar
pishro
Joomla! Explorer
Joomla! Explorer
Posts: 301
Joined: Tue Oct 09, 2012 7:22 am

Re: No <h1> tags in Joomla?

Post by pishro » Mon Dec 02, 2013 4:55 pm

There are several ways. One way is using the template override, but this involves serious coding.
Edit the file /www/components/com_content/views/article/tmpl/default.php.

Code: Select all

<?php if ($this->params->get('show_title')) : ?>
<td class="contentheading<?php echo $this->params->get( 'pageclass_sfx' ); ?>" width="100%">
<?php if ($this->params->get('link_titles') && $this->article->readmore_link != '') : ?>
<a href="/<?php echo $this->article->readmore_link; ?>" class="contentpagetitle<?php echo $this->params->get( 'pageclass_sfx' ); ?>">
<?php echo $this->escape($this->article->title); ?></a>
<?php else : ?>
<?php echo $this->escape($this->article->title); ?>
<?php endif; ?>
</td>
<?php endif; ?>
Modify that part by adding H1 tag.

Code: Select all

<?php if ($this->params->get('show_title')) : ?>
<td class="contentheading<?php echo $this->params->get( 'pageclass_sfx' ); ?>" width="100%">
<h1><?php if ($this->params->get('link_titles') && $this->article->readmore_link != '') : ?>
<a href="/<?php echo $this->article->readmore_link; ?>" class="contentpagetitle<?php echo $this->params->get( 'pageclass_sfx' ); ?>">
<?php echo $this->escape($this->article->title); ?></a>
<?php else : ?>
<?php echo $this->escape($this->article->title); ?>
<?php endif; ?></h1>
</td>
<?php endif; ?>
Just a note, adding H1 is not the only technique in SEO. There are more to it.

User avatar
changlee
Joomla! Explorer
Joomla! Explorer
Posts: 470
Joined: Tue Nov 20, 2007 11:05 am
Location: Greece
Contact:

Re: No <h1> tags in Joomla?

Post by changlee » Tue Dec 03, 2013 10:00 am

I did not found the code you suggested me in that file.

I found only:

Code: Select all

<?php if ($params->get('show_title')) : ?>
	<h2>
	<?php if ($params->get('link_titles') && !empty($this->item->readmore_link)) : ?>
		<a href="<?php echo $this->item->readmore_link; ?>">
		<?php echo $this->escape($this->item->title); ?></a>
	<?php else : ?>
		<?php echo $this->escape($this->item->title); ?>
	<?php endif; ?>
	</h2>
<?php endif; ?>
Where I replaced the H2 with H1

And nothing happened.

I know that H1 is not the only one technique, but I have done many techniques and my website is still at 3rd page with ZERO H1 tags!!!
If you do not programm your life, someone else will do it for you.
SMTP Newsletter APP: https://www.emailbat.com

User avatar
wedevlop
Joomla! Apprentice
Joomla! Apprentice
Posts: 31
Joined: Sat Jan 14, 2017 5:04 am

Re: No <h1> tags in Joomla?

Post by wedevlop » Fri Feb 24, 2017 7:04 am

what settings do i adjust if i am using joomla 3.5?

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: No <h1> tags in Joomla?

Post by sozzled » Fri Feb 24, 2017 7:25 am

wedevlop wrote:What settings do i adjust if i am using joomla 3.5?
Just like this topic (which is old), the version of Joomla you are using is also old.

User avatar
wedevlop
Joomla! Apprentice
Joomla! Apprentice
Posts: 31
Joined: Sat Jan 14, 2017 5:04 am

Re: No <h1> tags in Joomla?

Post by wedevlop » Fri Feb 24, 2017 8:18 am

sorry, when i check i am using joomla 3.6.5

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: No <h1> tags in Joomla?

Post by sozzled » Fri Feb 24, 2017 8:43 am

@wedevelop: please do not cross-post on this forum. Cross-posting is against the forum rules.

User avatar
wedevlop
Joomla! Apprentice
Joomla! Apprentice
Posts: 31
Joined: Sat Jan 14, 2017 5:04 am

Re: No <h1> tags in Joomla?

Post by wedevlop » Fri Feb 24, 2017 8:54 am

sozzled wrote:@wedevelop: please do not cross-post on this forum. Cross-posting is against the forum rules.

What do you mean against the rule? which one is my violation? :eek:

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30880
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: No <h1> tags in Joomla?

Post by Per Yngve Berg » Fri Feb 24, 2017 9:30 am

1) You have High-jacked someone else's topic instad of creating your own.
2) Do not Necro Post. This Topic is from 2012
3) You have posted in the 2.5 forum with a problem with 3.x


Locked

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