How to swap blog title with the post title

Monday, December 14, 2009


Generally, blog title will be displayed for every post on blogger. By using a hack we can change or swap the blog title with post title. This makes your posts SEO [Search Engine Optimisation] friendly.

You can also keep your blog title along with the post title. When you click on any post then post title will be displayed followed by blog title.

Its easy to make this post-tile hack. Just go to > Layout >Edit HTML  and search for this tag -  <title><data:blog.pagetitle/></title>  Replace this tag with below codes :

Post Title followed by blog title
<b:if cond='data:blog.pageName == &quot;&quot;'>
<title><data:blog.title/></title>
<b:else/>
<title><data:blog.pageName/> | <data:blog.title/></title>
</b:if>
Only post title without blog title
<b:if cond='data:blog.pageType == &quot;index&quot;'>
<title><data:blog.title/></title>
<b:else/>
<title><data:blog.pageName/></title>
</b:if>

Check how to add favicon also !

Subscribe to our blog

Do you have any Suggestions, add your comment. Please don't Spam!
If you like this site >> Subscribe to our feed

1 comments:

Anonymous said...

w7u45i4h97 i2a25u9u27 e4r32t4y29 u1h03k0n41 a1c27x8j07 o9i10e2b43

Post a Comment