Java Developers

alliax - March 14, 2008 - 15:56
Project:Artists C01
Version:6.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi,

Your theme is great ! Only thing, I wish it was a bit more SEO-friendly. You use the h1 tag for the Site title in every page. On every node page, it should be used for the node title when viewing a node. On the taxonomy pages it should be used for the term name, and so on. You just need to use it on the frontpage for the Site title, if possible. On all the other pages the node title should be just a link. What do you think about it ?

I can tell you this isn't only theoritical, I had bad SERPS when I had the same h1 (website name) on 2000+ articles on a website. There's not only h1, there are other parameters but it is definitively one of them. When you have specific h1 that are the article titles, that you use the same title in the title tag in the head, that the URL is rewritten with keywords inside, and when you link to this article on important keywords (or even title), you see a dramatic increase in the SERPS !

I had the same reflex as you, thinking h1 is for the website name because it's the highest hierarchical element, however when I discovered SEO I realized my reflexion was good for a one page point of view, but not appropriated at the website scale.

Using h1 as site title however is rampant throughout Drupal themes, and really bugs me.

From back in the old days, when web pages were fixed size black text on grey backgrounds, H1 is the meaningful title of that current document.
When searching for a page, H1 is the title of that page
The behaviour of H1 should be scaled down to the level of granularity you are currently viewing.

Hijacking it for site banners is a strange habit that's evolved as people started thinking that branding was more important than content.

There is a train of thought that could model the site title as being the 'top' of the heirarchy, and conclude that every page element should be somehow stepped down from that, but that logic would mean that subsections of sites should themselves have a rank...

My Site [H1]
- Personal [H2]
- - CV [H3]
- - - History [H4]
- - - - Education [H5]
- - - - - High School [H6]

So does
/personal/cv/history/education.html
start off with an 'h5' title?

Gah. H1 is for the label of the thing you are looking at right now. Not its parent.

We need an H0 or H-1 for that.

-------------------------------------------------------
I think we can solve this by using an If is front statement on page.tpl.php to use h1 for site title only on the first page.

front page:

<h1>site name</h1>
<p>Slogan</p>
<h2>teasers</h2>

other pages:
<p>site name</p>
<p>Slogan</p>
<h1>Node Title</h1>

Is this ok? Can you do it?

#1

artist.lupein - March 18, 2008 - 10:04

This is great analysis. Thank you alliax.

The reason I used h1 for site name is simple - I have not gave it much thought.

Now, that you've done such analysis, I feel obliged to do something about it.

It seems to me that plain <p> for site name and slogan on all pages except front is a little bit too far. What are the other options?

#2

BloggerSeo - January 17, 2009 - 08:59

http://asykral.blogspot.com thats my blog. and how can ı edit for seo

#3

mgifford - March 17, 2009 - 02:36

Similar discussion here with D7 - http://drupal.org/node/169912

#5

Java Developers - November 4, 2009 - 09:48
Title:SEO... <h1> for node titles and not Site title» Java Developers

Java Developers

http://www.aegisisc.com/javadeveloper.html

 
 

Drupal is a registered trademark of Dries Buytaert.