By Brent Williams on Tuesday, 08 August 2017
Posted in General Issues
Likes 0
Views 1K
Votes 0
Quick question regards to SEO. Would it not be best to have the category title be an H1 to hopefully rank for that category name? Right now, the overall blog title is the h1 for all category pages. Is that a bad idea?
Hey Brent,

Google is pretty intelligent these days and these markups doesn't really play much role in affecting the SEO. These days, they are mostly evaluating your contents and how it relates to what people are searching.

There is a lot of reasons that I think Google no longer put priority on these markups simply because there are just too many people who tend to abuse these markups.

Having said that, if Google still does prioritize on markups, I don't see a point in "prioritizing" your categories. The term is too generic and you will most likely lose out to those big players who has already been there for quite some time. Instead, it is ideal to relate to what people want to search.

What I often suggest to people is to look at the trends in Google and the most searched queries.

E.g:

- How do i save more money
- How do i get to Germany
- Where is the best place to travel to

Prioritizing your category markup would never help in these kind of searches. Instead, your posts should relate to these kind of searches. This way, Google wouldn't think you are trying to trick their crawlers and instead finds your site reputable because the content is related to the users' search.
·
Tuesday, 08 August 2017 01:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks, Mark. We are actually on the first page of Google for a couple of our category pages, so there is definitely potential to move up the ranks on those, although you are completely right that we focus on long tail searches in the blogs themselves.
·
Tuesday, 08 August 2017 03:44
·
0 Likes
·
0 Votes
·
0 Comments
·
You're welcome Brent, keep us update if you still need any help to change category title to H1 tag on the page, so we will provide some custom code for you.
·
Tuesday, 08 August 2017 12:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks, Arlex - I actually took care of it. If anyone wants to do something similar, I changed it so that the category name would be H1, as well as tag pages with the tag name being the H1.

First, change your theme -> toolbar/default.php

Near the top of that page I changed it to this:


<?php if ($view == 'entry' || $view == 'categories' || $view == 'tags') { ?>
<h2 class="eb-brand-name reset-heading"><?php echo JText::_($title);?></h2>
<?php } ?>

<?php if ($view != 'entry' && $view != 'categories' && $view != 'tags') { ?>
<h1 class="eb-brand-name reset-heading"><?php echo JText::_($title);?></h1>
<?php } ?>


Next, I went to categories/item.php and tags/item.php and changed the H2 to H1.
·
Tuesday, 08 August 2017 22:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Brent,

Thanks for sharing this, appreciate it very much
·
Wednesday, 09 August 2017 01:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there
I would like to change categories title to H1 and I believe that the file structure has changed since this thread was posted. Would you let me know how to do it in version 5.2.11?

Thanks

Best Regards,

--Giora
·
Sunday, 03 February 2019 02:18
·
0 Likes
·
0 Votes
·
0 Comments
·
hey Giora,

It located at this file JoomlaFolder/components/com_easyblog/themes/wireframe/helpers/headers/category.php


<h2 class="eb-category-name reset-heading">
<a href="<?php echo $category->getPermalink();?>" class="text-inherit"><?php echo $category->getTitle();?></a>
</h2>


After you edited, you can override this file into your current template JoomlaFolder/templates/yourCurrentTemplate/html/com_easyblog/helpers/headers/category.php (for those new folder you have to manually create it).
·
Sunday, 03 February 2019 11:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you arlex !

Best Regards,

--Giora
·
Sunday, 03 February 2019 15:16
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Giora, glad that your issue is resolved now. Since the original thread for this issue was created since 2017, we'll lock this thread to prevent any further confusions.
·
Sunday, 03 February 2019 23:17
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post