Changing Blogger title for Postpages.

In recent, I have changed the title of my blog' home page to Webtalks- Blogging,Online Money Making,Tech Tips wheras the title for Post pages{Itempages}is Post title ~Webtalks. This has given a major boost to my Search Engine rankings.Now the question is How do I have two separate titles for the same blog's homepage and post page.
By default, your Blogger's title on the top left displays your blog title, and if it's in the items page, it'll include your post title as well.eg, Webtalks:Changing Blogger Title for Postpages.By copying the coding from below, you can change the default behavior of the title tag.


Step 1-Goto Blogger Dashboard>>Layout>>Edit Html
Step 2-Backup your template
Step 3-Follow the instructions below

Find this code in your XML template{in header}

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

Now replace it with
<!-- Start Widget-based: Changing the Blogger Title Tag -->
<b:if cond='data:blog.pageType == "item"'>
<b:section id='titleTag'>
<b:widget id='Blog2' locked='false' title='Blog Posts' type='Blog'>
<b:includable id='comments' var='post'/>
<b:includable id='postQuickEdit' var='post'/>
<b:includable id='main' var='top'><title><b:loop values='data:posts' var='post'><b:include data='post' name='post'/></b:loop> ~ <data:blog.title/></title></b:includable>
<b:includable id='backlinkDeleteIcon' var='backlink'/>
<b:includable id='feedLinksBody' var='links'/>
<b:includable id='backlinks' var='post'/>
<b:includable id='status-message'/>
<b:includable id='feedLinks'/>
<b:includable id='nextprev'/>
<b:includable id='commentDeleteIcon' var='comment'/>
<b:includable id='post' var='post'><data:post.title/></b:includable>
</b:widget>
</b:section>
<b:else/>
<title><data:blog.pageTitle/></title>
</b:if>
<!-- End Widget-based: Changing the Blogger Title Tag -->

Further more you can add a very good keyword in homepage's title by just adding Keyword + Blog Title by finding this line in the above code{3rd last}-
<b:else/>
<title><data:blog.pageTitle/></title>
</b:if>

and adding keyword here

<b:else/>
<title> Keyword <data:blog.pageTitle/></title>
</b:if>

this functionality can be used to give you blog homepage title like "make money online with Webtalks!" and post title like "Changing Blogger title for Postpages at Webtalks"

Note- Installing the above code will not change title for Archives Page as well as Labels page

Credits :Widget Based



UPDATE: Looks like blogger team has disabled this hack.For those who have already used it before, no problems except for dragging and dropping your wigets around in Layout section and for those who haven't done this, keep up with the blog, I am working on a new hack.

Comments

  1. Thank you SOO much for writing this post! I spent all last weekend trying to write this little snippet and couldn't get it to work right.

    ReplyDelete
  2. Hi!

    I got it working but I can't save anything on the page elements. Any idea why?

    For now I got to delete it or else I cannot add and save anything. It's a great hack if you got it working!

    ReplyDelete
  3. thats cool, thanks for sharing that .


    http://adsenselt.blogspot.com
    http://togetmoney.blogspot.com
    http://quantumincome.blogspot.com

    ReplyDelete
  4. Awesome! It works. This is so cool, thank you, exactly what I was looking for! How did you get a boost in search engines? Was it for the individual pages or the overall main page? For me, I don't get any hits on my main page but I do for post pages and hopefully this should help a lot! Thank you so much!

    Noor,
    You might need to log out and log back in our try another browser or restart your PC. This has happened to me before in Blogger. I think it's something to do with Blogger and internet explorer, not the code. But I haven't checked so I'm not sure but I have done tons of changes to the default template but can still play with the page edits and fonts and colors, something I really love about Blogger because they do have a great system setup. Thanks so much again! God bless!

    ReplyDelete
  5. The best one I ever read !!!

    ReplyDelete
  6. I get an error when I try to replace my title, error 404 not found. I am just copying and pasting so any help you can give would be appreciated as I want to use this!

    ReplyDelete
  7. BTW I'm using the latest Firefox not IE. It told me the code was malformed.

    ReplyDelete
  8. I had to unwrap some of your lines of code to get this to work. I can't tell yet if it had "taken" or not. When I tried to edit my header to add a description in the template, I got an error but that may be unrelated to this. Here's hoping!

    ReplyDelete
  9. Sir, i used your code it works well on my blog.. it gives me traffic since am using keyword on my page title.. God bless for sharing this tip.

    ReplyDelete
  10. Hi thanks for this tip. How about having the post title in the keyword meta tag, do you know of any workaround?

    ReplyDelete
  11. Thanks :)

    Svetoslav
    http://devcha.blogspot.com/

    ReplyDelete
  12. thanks
    http://8download.blogspot.com/

    ReplyDelete
  13. I GET IT! this one i understood and it did it for my blog.

    ReplyDelete
  14. this doesn't work any more... section is not allowed in head tag

    ReplyDelete
  15. ToAnonymous:

    Try to use default template, i had the same problem with nonDefault one.

    ReplyDelete
  16. good info..
    i'll try it.
    thanx..

    ReplyDelete
  17. I tried it with my present as well as with a default template , but it keeps saying that the template is invalid because the tag 'b:section' appears inside of the tag 'head'.Any help with this ?

    ReplyDelete
  18. Hey Ashwini,

    I still haven't been able to successfully add that code to my blog http://onlinewealthguide.blogspot.com , but from a google search for an alternative I landed on a blog that seems like plagiarizing your post. Here's the link in case you want to check it : plagiarized blog

    ReplyDelete
  19. This won't work because blogger has depriciated this hack.. You can't use Blog2 widgets in blogger ..

    ReplyDelete
  20. Hi Ashwini, I finally managed to make the change to page title on my third party template but I used a simpler code here.Thanks for this very useful post that got me looking mate!

    ReplyDelete
  21. Hi Friends,

    Today I was looking to solve this title problem, fortunately the solution is so simple with Blogger's latest fix, do visit here for the solution.

    http://www.prasannatech.net/2008/05/blogger-changing-title-for-blog-posts.html

    ReplyDelete
  22. Sorry if you cant see the full link above, do look for my latest post in May

    http://www.prasannatech.net/2008/05/

    ReplyDelete
  23. Solution in my blog

    http://www.prasannatech.net/

    Sorry for the multiple entries but didn't know that

    http://www.prasannatech.net/2008/05/ wont work :)

    ReplyDelete
  24. Ashwini Khare, thanks for this Post.

    ReplyDelete
  25. been searching around for this solution. many thanks for the post.

    ReplyDelete
  26. been searching around for this solution. many thanks for the post.

    ReplyDelete
  27. Hi Ashwini,

    I tried the piece of code that you have made available on your blog but I seem to get this error

    "Your template is invalid because the tag 'b:section' appears inside of the tag 'head'."

    Could you please let me know how this can be solved.

    Thanks

    ReplyDelete
  28. Hello really i appreciate for your beautiful work done.. Every thing is fine here..
    Even i too have blog meant for free 3 column blogger templates.. So i'm requestin the admin of this blog whtr u r ready to Link exchange with my blog.. Www.Free3templates.blogspot.com
    if u r interested than mail me at datryan@gmail.com
    with regards
    sagar
    www.ritemail-adsense.blogspot.com

    ReplyDelete
  29. Hello .. this didn't work and i got this Error message:

    Your template is invalid because the tag 'b:section' appears inside of the tag 'head'.

    Would you please tell me how to solve it ?

    ReplyDelete
  30. What do you mean?

    ReplyDelete
  31. If this script don't work for you ( you get an error message), then use this small one:
    replace

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

    with

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

    My blog is: free php sources

    you can see the custom title on: php variables

    ReplyDelete
  32. Hi Bro, Thanks for your hack. But sorry to say, It didn't work for me. When I done as per your instruction, and try to show the 'preview' it say:

    We were unable to preview your template
    Please correct the error below, and submit your template again.
    Your template is invalid because the tag 'b:section' appears inside of the tag 'head'.

    Any Idea ?

    ReplyDelete
  33. Can u tell me how can I set my BlogPost Title at any Default Value, so that every time I get a default written value in the post title box.

    ReplyDelete
  34. good one.. i liked your post.. please posting ..


    sagar rai

    www.freetemplates4u.co.cc

    www.orkut-free-themes.blogspot.com

    www.freesoft32.blogspot.com

    www.todaysgadget.blogspot.com

    ReplyDelete
  35. Good informative article, and one of the best ones that I have researched.
    I have bookmarked this blog for further browsing.
    Share your information at KINGPAHAT - Creating, Writing & Collaborating.

    ReplyDelete
  36. thx very mutch man;-)

    www.hjaya.blogspot.com
    www.noukta-taourirt.blogspot.com
    www.jocks-ma.blogspot.com

    i'd bookmarkt your blog :-)

    ReplyDelete
  37. Bookmarking this beauty, should see a good increase in traffic. cheers.

    ReplyDelete
  38. Mmoinn purchase of wow gold , we give you the best service, players in World of Warcraft, the most stimulating challenges. You can quickly find world of warcraft sale in the wow power leveling .

    ReplyDelete
  39. Thanks for the tips

    ReplyDelete
  40. wow..so many people advertising their sites here :)

    --

    TQ soo much for this excellent trick :D

    btw, i got problems.. i got this message "Your template is invalid because the tag 'b:section' appears inside of the tag 'head'"

    why was that?

    Best Regard,
    Radith ^_^

    ReplyDelete
  41. silkroad goldand the swordsman in the seal online is need some new players pay more professional novice to it. Is it solo able in the sro gold? It is not too bad, you should survive pretty well with silk road gold if you equipment is up to date. Someone would like me who just reached IVI90 be able to survive more than one hit because silkroad online gold. The work of the reward system works without cheap silkroad gold.
    I know that most players use aion kina to get a shiny cool weapon like other players in game. You need enhance stones with aion online kina. The process of enhancing is simple if you have aion gold. You can buy aion kina after clicking enhance, you will see a star rotating about like roulette. The equipment will be enhanced to the next level if you have more cheap aion kina.

    ReplyDelete
  42. Do you know dofus kama? I like it. My brother often goes to the internet bar to buy kamas and play it. After school, He likes playing games using these cheap kamas with his friend. I do not like to play it. Because I think that it not only costs much money but also spend much time. One day, he give me many dofus gold and play the game with me. I came to the bar following him and found buy dofus kamas was so cheap.

    ReplyDelete
  43. Players can help themselves and hinder their foes by picking up Runes of Magic money. Rom Gold which I have spent much more in this game it is necessary. Frogster continues to throw the Runes of Magic Gold all the game-play they can possibly find into Runes of Magic. Once the race card is full the race begins, with players avoiding to buy Rom Gold and magical traps. It just amazes me how cheap Runes of Magic Gold and stuff Frogster is tossing into Runes of Magic.
    I like her bright mind, so that we can make more wonderland money with her bright mind. Invite your friends with cheap wonderland online Gold to relax for a minute of peace and quiet after a long quest. wonderland Gold is my object when I play this new and beautiful Wonderland Online Game. I found that some place need to pay for wonderland online Gold, and this place is full of attractions. You can go to buy wonderland Gold to take your tent with you when you are traveling around the WL world.

    ReplyDelete
  44. As a new player , you may need some game guides or information to enhance yourself.
    wow gold is one of the hardest theme for every class at the beginning . You must have a good way to manage your World of Warcraft Gold.If yor are a lucky guy ,you can earn so many World of Warcraft Gold by yourself . But if you are a not , I just find a nice way to buy wow gold. If you need , you can buy cheap wow gold at our website . Go to the related page and check the detailed information . Once you have any question , you can connect our customer service at any time .

    ReplyDelete
  45. Dont read last update

    www.itechie.blogspot.com

    ReplyDelete
  46. Seguy, if the problem isn`t resolved I can help - xvolvos@gmail.com. Thanks for tips! Keep working.

    ReplyDelete
  47. explicitly or implicitly,
    --------------------------------------
    the special moral hazard problem is not with stockholders but with creditors.

    ReplyDelete
  48. Their attempts to identify “bad banks” often result in “false positives” that precipitate bank runs.
    --------------------------------------
    It makes much more sense to have regulators – who have more resources and better information – do the policing.

    ReplyDelete
  49. So I’ll repeat the point I’ve made several times before.
    --------------------------------------
    When we talk about the implicit insurance that is (apparently not, as of yesterday) offered to investment banks and the like, the issue is not whether the stockholders are being protected – they’re always protected by the rules of corporate ownership – but whether the creditors are being protected.

    ReplyDelete
  50. Are creditors being encouraged to make rash decisions about where to lend their money?
    --------------------------------------
    Is the process of avoiding those rash decisions (as in the case of commercial banks) an inefficient one that could be done better by someone else (regulators, presumably)?

    ReplyDelete
  51. you don't know how much you just helped me... soooooooo much thanx my friens.. hope we can meet here and in my photoblog frequently..

    cu around.. keep up your nice work... very informative and helping blog is your's

    tc

    ReplyDelete
  52. Interested blog topic. I'v used this tips for all my blogs. Thx bro, success for you.

    ReplyDelete
  53. This blog s a gold mine for bloggers! Thnx for sharing with us, keep it up.

    ReplyDelete
  54. Your website is really cool and this is a great inspiring article. Thank you so much.

    ReplyDelete
  55. .If you are looking to buy a watch with a black dial, then you can buy the Breitling Bentley – SKU902. This watch has a black dial which has a tachometer..You will be spoilt for choice while looking to buy from among the Bentley 6.75 . Each model of Navitimer Watches brand is aristocratic and comes with dazzling beauty.

    ReplyDelete
  56. hai webtalk, i like for your this post, but what this tips be able work ?

    ReplyDelete
  57. It is very useful to get new ideas about Title changing in our blog. I read your blog often to get good posts which is very useful to us. Thanks

    ReplyDelete
  58. Great Project Darren. A good community build up. Cant wait to see the final result of all the submissions.

    Hmmmm how many submission will it be? huge I guess :)

    ReplyDelete
  59. Pretty great write-up. I simply Digging your web site and desired to say that I’ve actually loved reading your blogpost. Any method I’ll be signing as much as your feed and I feel you’ll submit once extra in the near future.

    ReplyDelete
  60. I find the coding very useful indeed. Since I'm also planning of changing my blog homepage. I love to explore new things. Just like the first time I Learn to Play Guitar.Its really cool.

    ReplyDelete

Post a Comment

Please avoid hyper links in Comments. Any offensive comment will be deleted