How to show post title before blog title in blogger




By default,your blog's template will show your blog's title before the title of post opened in browser.But with minor tweaks in template,we can change this to show post title before blog title.This also proves good for SEO of your blog
.You can have a look at mine blog and check this tweak.The title of this post is shown before blog title in browser.






So lets get started:
1.Login to your blogger account.
2.In your dashboard,click on Layout for the blog you wanna do this.
3.Click on Edit HTML.
4.Before doing any editing,backup ypur whole template.
5.Now click on Expand Widget Templates.
6.Search for following code:
<b:include data="'blog'" name="'all-head-content'/"><title><data:blog.pagetitle/></title>


7.Replace the above code,with following one:
<b:include data='blog' name='all-head-content'/>

     <b:if cond='data:blog.pageType == "index"'>

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

     <b:else/>

     <title><data:blog.pageName/> | <data:blog.title/></title>

     </b:if>


8.Now click on save template.
9.Now have a look at any of your blog's post.
10.Wow!!!!!!!!!!Your blog is getting professional.Keep it up.




Share your views...

3 Respones to "How to show post title before blog title in blogger"

Anonymous said...

this worked for me thanx

Unknown said...

thanks it work see my blog www.desicracks.blogspot.com


November 22, 2009 at 7:57 PM
NSR said...

yup all the best for ur blogs


November 23, 2009 at 2:02 AM

Post a Comment

You need not to login for making a comment.So please do comment about this post/trick.

 

© 2010 The Tech Pirate|Blogger Tutorials,Facebook Tips,Web News,PC Softwares & More... All Rights Reserved