Friday, February 20, 2009

How to Change Blog Title with your Blog Posts Title

This Blogger hack will help you to optimize the chance of your blog posts to appear in the search result in Google or other search engines.

This is very easy! Here's what you have to do:

1. Log on to your Blogger account.

2. Go to Layout > Edit HTML in your Blogger Dashboard.

3. Search for this tag:

<title><data:blog.pagetitle/></title> <span style="color:green;"><title><data:blog.pagetitle/></title></span>


4. Replace the tag above with this tag:

<b:if cond="data:blog.pageType == "index"">
<title><data:blog.title/></title>
<b:else><title><data:blog.pagename/> ~ <data:blog.title/></title></b:else></b:if><span style="color:green;"><b:if cond="'data:blog.pageType">
<title><data:blog.title/></title>
<b:else><title><data:blog.pagename/> ~ <data:blog.title/></title></b:else></b:if></span>
<b:if cond="data:blog.pageType == "index"">

5. Save your template.


If you have any problems regarding this tutorial feel free to ask me. Thank You!