ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel
  • »
  • Technology»
  • Internet & the Web

How to Change Title Tag in Blogger for SEO

Updated on March 23, 2013

How To Change Default Title Tag on Blogger for SEO

Title tag is one of the most important factors in search engine optimization. For users who have their blog hosted on Google's Blogspot, one of the issues is optimizing title tag. The title tag in the blogspot for each post that you publish is by default your blog title followed by your post title.

For SEO, it is imperative that your post title should come before your blog title or your every post will start with same title phrase that is your blog title.


For example you have your blog title "Red Shoes | All About Running Shoes" and you publish a post "The Dynamics of Red Shoes" then by defautl your title tag for the post will be this: "Red Shoes | All About Running Shoes - The Dynamics of Red Shoes".
This is not what you want to optimize your title for search engines ranking. This happens because by default Blogspot has this parameter for title tag generation:

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

You could see this in when you visit Layout from your Blogspot dashboard and click on edit HTML.


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

You see a combo of your Blog Title followed by Post Title

Now what you need to do to have your post title as the first element in your title tag is to replace this code with:

<b:if cond='data:blog.pageType == "index"'>
<title><data:blog.pageTitle/></title>
<b:else/>
<title><data:blog.pageName/> ~ <data:blog.title/></title>
</b:if>

What this command will do is for your homepage your blog title will appear as title tag but for your blog post your HTML title tag will be your page title followed by your blog title. I hope it helps.

You will now have a fully optimise title tag for your home page, all your post titles will be the title tags for your sub pages and none of this will effect the visible title of your blog. Perfect for search engine optimisation.

Comments

    0 of 8192 characters used
    Post Comment

    • nikhilchandra profile image
      Author

      Nikhil Chandra 4 years ago from New Delhi

      Hi drpennypincher,

      I am glad that my post was useful for you and pleasure is all mine :-)

    • drpennypincher profile image

      Dr Penny Pincher 4 years ago from Iowa, USA

      I checked the .html from one of my blogger pages and the Blog Name did appear first in the Post Title, followed by the name of the post. I added the code in this hub to my layout and it worked. The post title is now first, followed by the blog name in the .html. Much better for search engines. Thanks!

    • nikhilchandra profile image
      Author

      Nikhil Chandra 4 years ago from New Delhi

      You're welcome. And it is possible in Blogger and if you do a lot of writing there then you should go ahead and give it a try.

    • NateB11 profile image

      Nathan Bernardo 4 years ago from California, United States of America

      I was not aware you could do this on Blogger, I do a lot of blogging there. I should give this a try. Thanks.