drop down navbar

5 April 2013

How to Show Post Title Before Blog Title in Blogger

If you are using default template for your blogger blog; then you may have noticed that when you search for your blog on google, in search result it shows your blog title then your post title. It is not SEO friendly, because it cut down the post title word limit and it doesn't look nice as well.

So, you can get the benefit of optimized post titles in the search results. Please follow the below simple steps to make the change.
  
Blog Title Before Post Title
Blog Title Before Post Title

Stepwise Tutorial - How to Show Post Title Before Blog Title in Blogger

Step 1 : Go to Blogger

Step 2 : Click on Template


Step 3 : Click on Edit HTML

Step 4 : Now press Ctrl + F and find the line in your template


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


Replace the above code with the below one


<b:if cond='data:blog.pageType == &quot;index&quot;'>
<title><data:blog.pageTitle/></title> 
<b:else/>
<title><data:blog.pageName/> | <data:blog.title/></title>
</b:if>

Step 5 : Now click on Save Template

Post Title Before Blog Title
Post Title Before Blog Title

Enjoy