Monday, November 22, 2010

Heading optimize

Heading tags (H1, H2, H3, H4, H5) is also very important for SEO. The entire title of the Blogger widget (gadget) using H2 tags. However, Minima Template using H3 tags for the title of the post and most of the blogger templates using H2 tags for the title post. To improve SEO, you need to use H1 tags for the Post Title. For example, the Find code,

<b:if cond='data:post.title'>
<h3 class='post-title entry-title'>
<b:if cond='data:post.link'>
<a expr:href='data:post.link'><data:post.title/></a>
<b:else/>
<b:if cond='data:post.url'>
<a expr:href='data:post.url'><data:post.title/></a>
<b:else/>
<data:post.title/>
</b:if>
</b:if>
</h3>
</b:if>
 
The above examples show that the template you are using H3 tags as the title of Post (If you do not find it, probably the Template you use H2 tags for subtitles Posts), Replace H3 (or H2) in the above code with the H1, for example
<b:if cond='data:post.title'>
<h1 class='post-title entry-title'>
<b:if cond='data:post.link'>
<a expr:href='data:post.link'><data:post.title/></a>
<b:else/>
<b:if cond='data:post.url'>
<a expr:href='data:post.url'><data:post.title/></a>
<b:else/>
<data:post.title/>
</b:if>
</b:if>
</h1>
</b:if>
 
You also need to change the font size of posts by adding 
this code before ]]></ b: skin> 
h1.post-title, .post h1 #Blog1 h1, #Blog2 h1 { font-size:1.5em; }
 
In the example, I use a font size 1.5em. You can change it if you want 

1 comment:

Labels