Increase Blog Traffic by Optimizing your Blog Title
Posted by Alex on Friday, December 28, 2007
Here is a hack that will change the title to the following attractive format
Post Title + Blog Title
STEP 1
Goto Template>Edit Html and find the following code
<title><data:blog.pageTitle/></title>
STEP 2
Replace the step 1 code with the code below
<!-- Start Simple Tricks: Changing the Blogger Title Tag -->
<b:if cond='data:blog.pageType == "item"'>
<b:section id='swaptitle'>
<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'>
<title>
<data:post.title/> - <data:blog.title/>
</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'>
<b:loop values='data:posts' var='post'>
<b:include data='post' name='post'/>
</b:loop>
</b:includable>
</b:widget>
</b:section>
<b:else/>
<title><data:blog.pageTitle/></title>
</b:if>
<!-- End Simple Tricks: Changing the Blogger Title Tag -->
2 comments:
12:15 PM
NO more working?????
we cant include b:section tag in head tag ....
If u can resolve it mail me at adapa.ajith@gmail.com
www.codingfreak.blogspot.com
3:26 PM
hi Ajith,
It seems that Blogger didn´t allow this feature anymore.
So, you will receive the “Your template is invalid because the tag ‘b:section’ appears inside of the tag ‘head’.”error message.
To solve it, just cut the whole code and paste after the <body> tag, and it should be work fine :)
Post a Comment