Playing with Blogger Post Title and Meta Tags

Are you looking for customization of title and meta tags (description and keywords) for your blogger posts, or you want to have different title/meta tags for main page and posts, then here is a simple solution-

1) Go to Layout->Edit HTML section of your blog
2) Search for following line
<title><data:blog.pageTitle/></title>
3) Replace it with following code
<b:if cond=’data:blog.pageType == “index”‘>
<title><data:blog.title/></title>
<meta content=’Information about your blog’ name=’description’/>
<meta content=’Type your all keywords here Comma separated’ name=’keywords’/>
<b:else/>
<title><data:blog.pageName/>-<data:blog.title/></title>
<meta expr:content=’data:blog.pageTitle + “More details”‘ name=’description’/>
<meta content=’Type your all keywords here Comma separated’ name=’keywords’/>
</b:if>
This simply works because the header section contains following code between <head> .. </head>
<b:include data=’blog’ name=’all-head-content’/>

For each post the meta description will be replaced with post title and meta keywords will be provided by you (you need to type them). If you want to use post labels or category keywords in meta keyword section automatically then you may need to do something like (which I am not sure)

<b:include data=’post’ name=’all-head-content’/>
and then
<meta expr:content=’data:post.label.name’ name=’keywords’/>
Let me know if it works for anyone.

Share and Enjoy:
  • HackerNews
  • Twitter
  • Facebook
  • Google Buzz
  • LinkedIn
  • Posterous
  • Tumblr
  • Digg
  • Reddit
  • del.icio.us
  • DZone
  • FriendFeed
  • Suggest to Techmeme via Twitter
  • Print
  • RSS
  • Slashdot

17 Responses to “Playing with Blogger Post Title and Meta Tags”
  1. 02.16.2009

    Playing with Blogger Post Title and Meta Tags: Are you looking for customization of title and meta tags (descrip.. http://tinyurl.com/dds4ms

  2. 02.16.2009

    あ、参照記事 http://blog.esuteru.com/archives/709363.html

  3. 03.19.2009

    Nice info, but do you have any solution how to do the same thing in the old Blogger templates (i.e. Template —> Edit HTML).

    Thanks in advance for the answer!

  4. 05.27.2009

    I am looking for a solution to get unique keywords meta tag for each blogger hosted blogs.. Any solution?

  5. 05.28.2009

    I am a bit confused with these meta tag stuffs.. Is there a solution to add unique meta tag and description for each blog posts ?

  6. 05.28.2009

    Hi there, there is no way u can put unique meta tag but I just replace the title with meta tags and it works fine for me, in 3 month with this I got a page rank of 5

  7. Josh
    05.29.2009

    Is this only applicable to the new blogger interface? Can i use this for the old blogger classic templates?

  8. 05.29.2009

    Hi there this works for new blogger interface,

  9. 06.06.2009

    Good is very nice

  10. 06.12.2009

    why cant we use ‘data:post.body’ in description tag, so that we can have different description for different posts.
    like this

    some error is reporting, whats the problem?

    rapidsharelinksforu.blogspot.com

  11. Hey, thanks for this post, it was exactly what I was after to SEO tweak one of my blogger blogs. It’s a shame you can’t create custom meta descriptions in Blogger like you can in WordPress with the All In One SEO plugin. Hmmm, maybe someone will eventually figure that one out in Blogger?

  12. 09.22.2009

    Sorry, I was searching for the solution to add all my labels as meta tags in my blogger blog, but the solution you provided, returned with the ERROR, XML not properly parsed, couldn’t save the changes. & something like that. However, the tutorial above to add meta keywords helped me to add all my keywords within the head section, but it’s a tedious process, and when as a blogger, we are posting frequently, it makes very boring to play with all this html everyday. Anyways, if you find any better solution that automates the whole thing PM me. Thanks for nice work.

  13. 11.15.2010

    Playing with Blogger Post Title and Meta Tags | Abhishek Tiwari: Are you looking for customization of title and m… http://awe.sm/5DFoc

  14. 11.15.2010

    Playing with Blogger Post Title and Meta Tags | Abhishek Tiwari: Are you looking for customization of title and m… http://awe.sm/5DFox

  15. 11.15.2010

    Playing with Blogger Post Title and Meta Tags | Abhishek Tiwari: Are you looking for customization of title and m… http://awe.sm/5DFos

  16. 11.15.2010

    Playing with Blogger Post Title and Meta Tags | Abhishek Tiwari: Are you looking for customization of title and m… http://awe.sm/5DFon

  17. 11.15.2010

    Playing with Blogger Post Title and Meta Tags | Abhishek Tiwari: Are you looking for customization of title and m… http://awe.sm/5DFoi