Change Title for Blogger Post Pages

Now this is going to be real interesting.The default behavior for the Blogger To display the title of pages is to show the Name of Blog first and then the title of post page with a colon ':' in between. There have been attempts by the blogging and tech community to change this using the Blog2 widget hack but now that hack had been deprecated by the Blogger Team. But now we got a surprise in store.


And the surprise came from none other than the Blogger Team. According to their May 9 Updates :
Layouts now has a blog.pageName datum that gives the name of the current page without the “[Blog Name]: ” prefix that blog.pageTitle adds.

So we have got a whiff of life from them.
So now to the Actual Part. How to Change the Title for Blogger Post Pages.
This is the default behavior of blogger:

So we don't need to have that name of Site in starting on the Post Page title as this also has SEO (Search Engine Optimization) aspects that have to be taken care of too.

  • So Goto Blogger Dashboard
  • Go to Layout > Edit HTML
  • Backup your Existing Template
  • Search for the Following code in the HTML part:

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

  • Now replace that entire part with this code:
<!-- Start of Changing the Blogger Title Tag -->
<b:if cond='data:blog.pageType == "item"'>
<title><data:blog.pageName/></title>
<b:else/>
<title><data:blog.pageTitle/></title>
</b:if>
<!-- End of Changing the Blogger Title Tag -->

Save your Template, and you are done.

Some people like to have their blog's name after the PostPage title like this:
<title><data:blog.pagename/></title>

So in this Code you can add the Blog Title or for that case any keyterm
<title><data:blog.pagename/>keyterm</title>

So replace the Keyterm with your custom words and you are done.
Hope you enjoyed this little Blogger tweak.
Do Comment and To keep yourself updated about Technology Subscribe to our feed

Comments

  1. That didn't work for me. Thanks for the info though.

    ReplyDelete
  2. Thanks for reminding... I have rectified that... :) it had an extra quotation mark

    ReplyDelete
  3. Thanx a lot for this tip as i thought that my all page will have the same page title.

    ReplyDelete
  4. Welcome Nikhil, Yea earlier all pages used to have the 'Blog name' added to title always, but now it can be changed.

    ReplyDelete
  5. Great post. Some of the code that's out there doesn't work with newer blogger templates. Thanks!

    ReplyDelete
  6. Thanks a lot Bill, Yea many codes that are available have become obsolete, as the trick that was used by them was deprecated by Blogger team.

    ReplyDelete
  7. Good article, it works for me. Thanks for sharing. Can you share me how to display comment box on post visible, like your blog have.
    -
    DotNetGuts (DNG)
    http://dotnetguts.blogspot.com

    ReplyDelete
  8. Hi DotnetGuts , welcome to CorpseofAttic. Nice that it worked for you :)
    The Comment Form you are referring to can be seen here Inline Comments
    Also you check out related articles too.

    ReplyDelete
  9. thanks so much! worked perfectly!!!

    ReplyDelete
  10. Thanks a Lot Pinay :)
    Hope you like other hacks too.

    ReplyDelete
  11. Great, it worked like a charm...

    Check it out here...

    http://www.atoztoa.com/2008/12/ripping-off-blog-name-from-blog-post.html

    _ATOzTOA
    www.atoztoa.com

    ReplyDelete
  12. Great atoztoa that it worked for you...

    ReplyDelete
  13. Nice info. Thanks ATOzTOA for referring this, this is useful, great stuff corpseofattic.

    // Jadu

    ReplyDelete
  14. It such worthy tips and it will really work. I will follow it.

    ReplyDelete
  15. Excellent! That is exactly I was looking for my blog. Thank you so much.

    ReplyDelete
  16. it is not working in my customized blogger theme. i have installed one customized theme at by blog, while changing the title, it has started showing errors

    ReplyDelete
  17. It's working fine. But I have a problem with my blog. When i google "tomate joyeuse", it shows the date : monday the 26 october and not the title of my blog
    How can i solve the problem?

    http://tomatejoyeuse.blogspot.com/

    ReplyDelete
  18. Thanks for this tip. I have successfully used it on:

    http://about-dog-breeds.blogspot.com/

    cheers :)

    ReplyDelete
  19. Thanks for the tip it was just what I was looking for. My page titles look much better now.

    ReplyDelete
  20. Great post. Some of the code that's out there doesn't work with newer blogger templates. Thanks!

    ReplyDelete
  21. Worked for me, thanks, it was driving me nuts!

    ReplyDelete
  22. really it's too nice article in a useful site :)

    go ahead and ihope u visit me soon on my blog)

    http://bestmobilesview.blogspot.com

    ReplyDelete
  23. please i need to ask u if i wana make title in head of pages of my blog and another title in every article i post it on my blog can i do this or no?!!

    so, please visit my blog soon and leave me a comment with your replay

    thanks

    http://bestmobilesview.blogspot.com

    ReplyDelete
  24. Thanks for such a nice post
    i have used and satisfied with it


    Thanks Again

    ReplyDelete
  25. Awesome dude. i made it work.. thanks for the great trick.. check mine guys.. http://istyle360.blogspot.com

    ReplyDelete
  26. I am waaaaay late in the game on this, but this has been bugging me for a while on my own blog. Thanks so much for the info!

    ReplyDelete
  27. Works like magic for me! Thanks for info! Changed my blog post titles in couple of minutes.

    ReplyDelete
  28. Just applied it and finally it's changed. I will appreciate you for this.

    ReplyDelete
  29. for my main page
    http://akbar-and-birbal.blogspot.com/
    i need title to be same

    and for this
    http://akbar-and-birbal.blogspot.com/2011/07/akbar-birbal-jokes.html

    i need another title say "jokeS"

    how would i do it.Please tell the exact code

    ReplyDelete
  30. and if possible also tell example for meta tags as well

    ReplyDelete
  31. one thing I know that the meta title often appears in the search results.

    ReplyDelete

Post a Comment

Use Real names , No Spam or Anonymous Comments (Commenting Policy)
All Comments are moderated