If you've been around Joomla seo for a while - you know about the importance of the html H1 tag.

This is one of the most important on-page Joomla seo you can do - this is because Google gives the tag a lot of importance, and it is one of those pieces of content which can still be used to directly influence SEO. If you use the H1 correctly, you can have a very positive influence on your search engine rankings. 

Unfortunately, Joomla has not been very H1 friendly historically. For whoever knows what reason, the article title is not marked as H1, instead it is marked as h2.

Somehow, to get the best value out for our Joomla seo process, we need to be able to tweak this to ensure that our title - which obviously is an intrinsic part of our seo Joomla strategy - is being tagged correctly.

Fixing the h1 in Joomla - the manual way

If you don't have many articles on your website or are averse to installing components on your website you can choose to fix this problem manually. Essentially this involves two steps:

Step 1: create a title in your Joomla article which is tagged with an H1 tag in the HTML editor

Step 2: change the parameters of the article such that the article title is not shown. This should be done so that you don't have a duplicate title (this is bad for Joomla seo because of penalties associated with keyword stufffing).

You should now verify using the view-source functionality of your browser to confirm that the title is now surrounded by h1 tags

This method works well but, it was what we used to do on collectiveray.com a long time ago, but does not scale well, especially if you have a lot of existing articles which you would need to edit manually.

Fixing the H1 - using a component/plugin

The easiest way to fix H1 titles in Joomla throughout is to enable an SEO plugin which automatically looks for the article title and surrounds it with the H1 tag for maximum SEO juice. For example. sh404SEF has this functionality built-in. There are other components which do this of course.

The additional benefit of using a component is that it can also do other things to fix Joomla SEO. For example, despite the importance of the H1 tag - there is actually an SEO penalty associated with having more than one H1 tag in the same page.

The reason for this is that for some time, the H1 tag was abused by spammers, so Google and other search engines had to implement this H1 penalty. Joomla SEO components are able to automatically scanning the content of a page and make sure htere is only one h1 tag.

USE A TEMPLATE OVERRIDE to display the title as H1

A template override is used to change the core way that Joomla deals with specific part of the layout. So for example, template overrides are a perfect scenario if you want to change the H1 tags. Since Joomla 3, defining new template overrides is really easy, so there's no hassles to create these for the added benefit of getting good Joomla SEO ;)

Go to Extensions > Template Manager > Templates and select your template. Go to Create Overrides tab, and click on com_content, and when the hidden options are shown, click on Article. You now have a code-editor where you can define the template override. Find the following section:

<div class="page-header">
<?php echo $this->escape($this->params->get('page_heading')); ?>


Simply change the H2 to and H1 and your titles will be shown correctly as H1

You can also do this in Joomla 2.5 by copying the file default.php from components\com_content\views\article\tmpl to templates\YOUR_TEMPLATE\html\com_content\article. If the folders do not exist, you will need to create them. The changes described above need to be done in this file.

This small but crucial change in the way Joomla deals with articles goes a very long way to improving your Joomla SEO and does much to improve your search engine rankings.

One more thing... Did you know that people who share useful stuff like this post look AWESOME too? ;-)
Please leave a useful comment with your thoughts, then share this on your Facebook group(s) who would find this useful and let's reap the benefits together. Thank you for sharing and being nice!

Featured On

Inc Magazine Logo  

Sitepoint logo  

CSS Tricks logo   

webdesignerdepot logo   WPMU DEV logo   

and many more!



Get Started Now With Shutterstock




Best Rated Caching Plugin

Make your website faster 

Monstrous B-Day Party

CLICK HERE for discounts!

Monstrous bday party

How to make your website FAST!

Step-by-step - free email course, how to make your website load in less than 1 second 


The Outstanding HungryJPEG Bundles

AWESOMENESS! Bundles of premium font + graphic packs at more than 96% OFF!  Get a bundle for just $9 - ONLY!

The Hungry JPEG Awesome font bundles


Work with CollectiveRay.com

CollectiveRay (formerly known as DART Creations) is interested in developing partnerships with mutual benefit. If you like the stuff we publish and would like to develop a relationship, we'd be happy to hear from you. Go on - drop us a line - we'd love to hear from you :-)


Disclosure: CollectiveRay is funded personally out of pure passion for helping people working with websites. We do however generate some income through recommendations of products. This means if you click on a link and purchase an item we link to, we will receive a small sum out of that sale. We usually partner with vendors to make your purchase cheaper than buying direct.

Popular Content

Joomla extensions to take your website to the NEXT level

Is your Joomla website reaching its full potential? We install many of these extensions on almost ALL of our Joomla sites - why don't you check them out our list of Joomla Extensions and see whether you can take your site to the next level?

who are we?

CollectiveRay is run by David Attard - working in and around the web design niche for more than 12 years, we provide actionable tips for people who work with and on websites. We also run DronesBuy.net - a website for drone hobbyists.

David attard

Follow us on Social

Follow us on Facebook   Subscribe to our RSS Feed   Follow us on Twitter


Where are we hosted?

This site is proudly powered by FAST VPS InMotion Servers and given an insane speed thanks to StackPath CDN!

Web Hosting stackpath