Thursday 28 February 2008

Blogger Posts title Optimization for Search Engines

Blogger blogs not well optimized for search engines and you need to fix that. One of the things that is not optimized are Titles of your all posts in Blogger blogs.

Usually title looks like this : Title of your blog : Title of post

It is wrong! For better SEO you need to have: Title of post : Title of your blog

Lets fix that:

1. Go to blogger dashboard, click 'Layout' and 'Edit HTML'

2. Find this line: <title><data:blog.pageTitle/><title>

3. Replace that line to this one :

<!-- newtitle -->
<b:if cond='data:blog.pageType == "item"'>
<b:section id='titleTag'>
<b:widget id='Blog2' locked='false' title='Blog Posts' type='Blog'>
<b:includable id='nextprev'/>
<b:includable id='backlinks' var='post'/>
<b:includable id='post' var='post'><data:post.title/></b:includable>
<b:includable id='commentDeleteIcon' var='comment'/>
<b:includable id='status-message'/>
<b:includable id='feedLinks'/>
<b:includable id='backlinkDeleteIcon' var='backlink'/>
<b:includable id='feedLinksBody' var='links'/>
<b:includable id='postQuickEdit' var='post'/>
<b:includable id='comments' var='post'/>
<b:includable id='main' var='top'><title><b:loop values='data:posts' var='post'><b:include data='post' name='post'/></b:loop> | <data:blog.title/></title></b:includable>
</b:widget>
</b:section>
<b:else/>
<title><data:blog.pageTitle/></title>
</b:if>
<!-- end newtitle -->

4. Save your changes.

Done, now you have better optimized title of your blog posts. Cheers

PS:

This method is not workind anymore, read how to fix that: Swap blog title and post title on blogger

4 comments:

Anonymous said...

i'm getting this error when saving or in preview

Your template is invalid because the tag 'b:section' appears inside of the tag 'head'.

what to do now? thanks!

Mr. Geek said...

blogger made some changes yesterday, and this method not working (i think temporary), sorry, I have the same problem with all my blogs=(

Anonymous said...

hi mr. geek, I resolved this error already. I put the code before the head tag. It worked! you may see my blog at http://solidcash.blogspot.com

Mr. Geek said...

thnx, Solidcash 1=)