Changing the way Blogger presents title tags
By default, Blogger templates come with a 'smart' tag that automatically puts the title of your blog in the title tag if you are on the main page and on article pages it uses the format: BlogTitle: Article Title.
I wanted to change my blog's title tag so that is puts the title of my post first followed by the name of my blog. Here is the code if you want to do the same:
<title>
<MainOrArchivePage><$BlogTitle$></MainOrArchivePage>
<ItemPage><Blogger><$BlogItemTitle$></Blogger> - <$BlogTitle$></ItemPage>
</title>
Use the above code in place of: <title><$BlogPageTitle$></title>
Update 13 NOV 06: If you are looking for a way to do this in the new Blogger Beta, it is a little more complicated. Instructions are outlined here: Widget Based XML: Changing the Blogger Title Tag
14 Comments:
Thanks - just what I was looking for.
Chad H
www.anythinggoesmarketing.blogspot.com
By
Chad H, at 8/07/2006 02:17:00 PM
Great tip, I've been looking to change this to help with the SEO of my blog.
Cheers!
By
Kev, at 9/14/2006 04:49:00 AM
Thank you! Just what I needed.
By
WITY, at 9/17/2006 08:20:00 AM
Thanks! just what I needed...
By
WITY, at 9/17/2006 08:21:00 AM
Hi,
How to do this in Blogger beta?
By
Anonymous, at 9/18/2006 05:20:00 AM
Anon..I haven't tried Blogger Beta yet. When I get some time I'll have a look and see what I can do.
If anyone out there has tried Blogger Beta and made this work, let me know. Seems to me it should just work unless they've changed the templates that much.
By
Scott, at 9/18/2006 08:43:00 AM
Thanks for the reply Scott.
By
Anonymous, at 9/22/2006 03:19:00 AM
I'm also very curious about blogger beta and haven't been able to find an answer by searching:(
By
Anonymous, at 10/22/2006 11:56:00 PM
Thanks, this is the best I can do for Blogger Beta.
By
Seige, at 11/13/2006 07:31:00 PM
great tip.
and is it just me or does blogger beta just completely suck? i hate it.
By
Anonymous, at 11/29/2006 05:40:00 PM
Oh, this is just awesome! Thanks so much for this handy and simple tip! I just put it in place over at 2Dolphins.
By
Anonymous, at 1/28/2007 03:45:00 PM
Rob, glad it's working for you.
By
Scott, at 1/28/2007 06:50:00 PM
Many thanks for this post. I was looking for this!
By
Stefen, at 7/13/2007 12:31:00 AM
Is it possible to also change the label pages so that the label appears in the title? The label pages are pretty much wasted it seems to me if we can't have the label name in the title.
By
Music By Day, at 11/02/2007 08:17:00 AM
Post a Comment
Links to this post:
Create a Link
<< Home