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

0 comments:

Post a Comment