Wednesday, December 24, 2008

TWEAKING BLOGGER POST TITLE TAGS FOR BETTER SEO


By default, Blogger displays the same title in the title bar on every single page. Whether its an individual post, archive page, search result page or home page, Blogger will always display the same blog title in the title bar. From the SEO perspective, this is not what we want.

Every post page should have its post title as the title tag and this post headline should be displayed in the title bar, instead of the blog title. To correct this, find the following line in your blog template.

<title><data:blog.pageTitle/></title>


Replace it with the following code:

<b:if cond=’data:blog.pageType != "item"’>
<title>Put Your Blog Title Here</title>
<b:else/>
<title><data:blog.pageName/></title>
</b:if>


After implementing this code, your post pages will have post title as title tag, and your home page will have regular blog title.





Enter your email address:

Delivered by FeedBurner

0 comments:

Friends

Popular Posts

Advertisement

 

Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted into Blogger Template by Bloganol dot com