| Subscribe Via RSS

Change Title for Blogger Post Pages

| 26 comments |
ADVERTISEMENTS ▼
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
Did you like the Post? Subscribe to us or Get them Right into your Email Inbox :
Bookmark/Favorite this post : DiggIt! StumpleUpon Del.icio.us Google Yahoo MyWebs2.0 Yahoo Bookmarks Technorati Reddit Blinklist Furl Ma.gnolia Facebook

26 comments:

Katie said...

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

Gaurav said...

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

Nikhil said...

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

Gaurav said...

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

Bill said...

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

Gaurav said...

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.

DotNetGuts said...

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

Gaurav said...

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.

Sexy pinay said...

thanks so much! worked perfectly!!!

Gaurav said...

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

atoztoa said...

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

Gaurav said...

Great atoztoa that it worked for you...

Jadu Saikia said...

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

// Jadu

Gaurav said...

Thanks a lot Jadu...

Johnson Maben said...

Yes, its working for me thnaks

Gaurav said...

Thanks a lot Johnson

airport transport said...

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

VoIP for Bangladesh said...

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

Silk Flowers said...

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

Tomate Joyeuse said...

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/

Raja Habib said...

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

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

cheers :)

Christian Single Dad said...

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

Matbaacılık said...

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

Conmposite Material said...

Worked for me, thanks, it was driving me nuts!

Best Mobiles View said...

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

Best Mobiles View said...

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

Post a Comment

No Spam or Anonymous Comments (Rules)

Top Commenters