New way to swap Blog Title and Post Title on New Blogger
By Jacky Supit • Dec 4th, 2007 • Category: blogging tips - blogging tricksHere is another easy way to swap blog title and post title on new blogger. You can also add your Meta Tags on blogger here. As you may already know that swapping blog title and post title is a really important steps to do if we want to have a better SEO implementation on our blog, that lead me to find another better way to do this.
So here it is, this also means that the old hack is depreciated.
Swap your blogger title in just 1 minute.
1. Go to your Blogger template editor.
2. Find this code below
<title><data:blog.title/></title>
3. replace with this code below or download the code here (right click + save as or just open it on a new window).
<b:if cond=’data:blog.pageType == “item”‘>
<b:section id=’swaptitle’>
<b:widget id=’Blog2′ locked=’false’ title=’Blog Posts’ type=’Blog’>
<b:includable id=’nextprev’/>
<b:includable id=’backlinks’ var=’post’/>
<b:includable id=’post’ var=’post’>
<title>
<data:post.title/> - <data:blog.title/>
</title>
</b:includable>
<b:includable id=’commentDeleteIcon’ var=’comment’/>
<b:includable id=’status-message’/>
<b:includable id=’feedLinks’/>
<b:includable id=’backlinkDeleteIcon’ var=’backlink’/>
<b:includable id=’feedLinksBody’ var=’links’/>
<b:includable id=’postQuickEdit’ var=’post’/>
<b:includable id=’comments’ var=’post’/>
<b:includable id=’main’ var=’top’>
<b:loop values=’data:posts’ var=’post’>
<b:include data=’post’ name=’post’/>
</b:loop>
</b:includable>
</b:widget>
</b:section>
<b:else/>
<title><data:blog.pageTitle/></title>
</b:if>
4. Save your template and done.
Related Entries
- Swapping Blog Title and Post Title on Blogger. [for a better SEO Implementation.]
- Blue Marine Blogger Template
- Blogger
Sucks!Bugs! No Two or more Blog Widget on 1 blog! - Meta Tags on Blogger, and Title Swapping. What are they good for, and What is the different.
- Swap Title on Blogger Classic Version
- Adding Meta Tags on Blogger, and what is it good for.
About the post author:
Jacky Supit is The man behind the site. Do you have any questions, problems or anything about your blogger or wordpress? AskJack on TemplateForum.Org
[…] hack has been depreciated. You can learn the new and easier way to swap blogger title here. […]
I tried to replace the code with this new one but when I tried to save it gives me a XML: Open quote is expected for attribute “{1}” associated with an element type “cond” error
what can I do??
thanks jack..
i’ve applied this for my blog..
[…] 2. I recommend you to install a title swapper too, so install this hack first. Swapping Blogger Title. […]
Thanks Jack..
This new swapping blog title hack is so easy than before.
1. Go to your Blogger template editor.
2. Find this code below
I couldn’t find this in my blog. The closest that i could get is
Can i replace this code with yours ?
what is your blog url?
do you use new blogger version or the classic one?
this hack works on new blogger version. thanks
ok something happened
I cant find the code that you mentioned in the section
“Find this code below”
What i have is the same code except that instead of blog.title i have blog.pageTitle
ok, you can try to use that one.
it’s just please remember to always backup your template first.
if you can make it, send me your xml template, and i do it for you.
thanks
i cant find the”" anywhere on the templates i use not even on the blogger.com ones, i only find “”
i used to use this one from blogandweb:
http://blogandweb.com/index.php?s=titulo&paged=3
but it degraded the blog a lot in ie6, messed up the template
just send me your xml template, and i will install it for you
thanks
i cant find the”
” anywhere on the templates i use not even on the blogger.com ones, i only find “”i used to use this one from blogandweb:
http://blogandweb.com/index.php?s=titulo&paged=3
but it degraded the blog a lot in ie6, messed up the template
i cant find the <title><data:blog.title/></title> anywhere on the templates i use not even on the blogger.com ones, i only find <title><data:blog.pagetitle/></title>
i used to use this one from blogandweb:
http://blogandweb.com/index.php?s=titulo&paged=3
but it degraded the blog a lot in ie6, messed up the template
yes, you can use that one.
What is the use of this hack n what does it does excatly..?
go to one of your post, and look at your browser titlebar.
it will looks like this
your blog title here > your post title here - your browser name here.
if you want to swap the post title and blog title so it would be like this
your post title here > your blog title here - your browser name here.
then you can use this trick.
this will give you many advantages on search engine.
want some more example?
go to google, type your name or one of your post title there. and click search button.
see? on the search result list, google list your page title as this
your blog title - your post title
it will be better if google list your page like this
your post title - your blog title.
so you can have a better position on the search result list.
hope it helps
thanks
Excelentttt!
Thanks you.. I hate the old tick.. But this one is verrryyyy Cool!
You rules!
thanks Gabriel,
glad to know that you like it.
Jack, I my titles already change on each page. Do I need to install this?
well, i recommend you to replace the old trick with this new one.
but if you have no problem with the current trick you use, of course you don’t have to do anything with it
thanks
I’m with KURT, what does this do exactly? A little explanation would really help.
Search Engine Optimization or SEO. It would help you get better on SERPs or Search Engine Ranking Pages. Meaning, you could get free traffic from search engines if people type your keywords on search engines.
Then whats the difference between Adding Meta Tags and swapping blog title…
meta tags is the description on search engine, swapping post title will give you a better title on search engine result.
i will give you more screenshot soon
thanks
Can you add this to the existing hack and remove the “-” you may have used as your blog title?
actually, all you need to do is just
1. go to your dashboard setting
2. set your blog title again
3. remove the header widget
4. add the widget again
5. then follow the instruction here on the post to install it.
but anyway, send me your xml template if you can’t do this.
thanks
[…] how to do this tricks? you can do swap title on blogger here, and Meta Tags on blogger here. Share […]
Hi jack ,,,
I got error while save template:
Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: Open quote is expected for attribute “{1}” associated with an element type “cond”.
Can help me.
Thank.
send me your xml template, i will install it for you
thanks
please just send me your xml template if you can make it guys
thanks
jackI tried and got the message kukkun received. I’ll try again because I know you must be terribly busy.
Thanks for this. works perfectly!
Exactly i am using “3 Columns Blogger Template, Beautiful Red Apple”.
thank in advance
Hi jack.. i think this is very good post.. but may I give suggestion? if i want to display HTML code, i’m always use this (for example):
<blockquote>
<code>
<b:section id=’swaptitle’>
</code>
</blockquote>
So HTML code will show perfectly.
sorry jack…i’m just suggestion.
hi Rohman,
sorry but what were you trying to say?
what is the relation with this post? thanks
can you rephrase this?
*nosebleeds*
just did this with flying colors!
i see the result instantly
Hi, when i tried to install it in blogger, after i saved it changed to
any idea what’s happening here?
o … just found out … i need to tick the “expand widgets template” checkbox before i can see the code.
thanks for providing such a nice post. thx.

hey jack..
u did great job man…
u r my man jack… how did u find this tip jack?
does this same tip as using this tip:
http://www.jackbook.com/2007/11/optimizing-the-use-of-h1-for-a-better-seo.html
Hey Jack, I tried to install this but there seems to be this error:
Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: Open quote is expected for attribute “{1}” associated with an element type “cond”.
Im currently using 3 Columns Blogger Template. can you help me? thanks.
good app for my blog’s Seo .thanks Jack
Jack, I got the same problem as them… “Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
Oh, and 1 more thing.. how can I add the smilies above to my blog comments like yours? Thanks for any help you can give…cheers! 
XML error message: Open quote is expected for attribute “{1}” associated with an element type “cond”.” I don’t know what to do, please help!
did you guys just copy and paste the code from this post?
have you tried to download the file i provided?
because it use to has problem with the quote marks ” ” and ‘ ‘ if we just copy and paste it.
i think i must use all 3 tip that u provide at my project 100 blog, jack..
will increase traffic and seo too if im applied this..
I got it! Thanks! How about my second question?
how to do it in OLD BLOGGER TEMPLATE??
it’s easier actually.
do you need me to create that tutorial too?
thanks for this.. it really really works
Like I said, I’ve been trying to implement this hack since last December 2006 - one year already! I read this useful informations at Widget Based. My comments are still there at Widget Based,
hi jack pliss good trik
Im sorry jack I already saw the code after tick the “expand widgets template” checkbox ..Its installed now..
Hi, if you’re getting XML errors, here’s a way to fix it:
http://cgi.feureau.com/2007/12/xml-error-on-swapping-blog-and-post.html
Thanks for the code, Jacky, it’s a lifesaver.
Hi
I tried to paste that but get the following error when I try to save the template.
can you pleas help
We were unable to save your template
Please correct the error below, and submit your template again.
Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: Open quote is expected for attribute “{1}” associated with an element type “cond”.
hi! i change mytheme so i need this again!
is
“”
the same with
“”
wtf?
i type some code on that comments (its gone!)
btw, i done it again!
Is it possible by any chance to get labels displayed within the meta tag as keywords?
thanks
Thanks jack, got it done!
for those that are having problem with the xml, d/l the txt file and copy from there, instead of copying directly from this website.
hi
if I change my template, I lose these changes, also my meta tags.
Any simple workaround, or i should do it all again?
[…] You also get already swap title […]
I just confused aout how to swap title of Blogger classic html template..can you tell me please..
just wanted to thank you for this tip. I wrote a post on my blog about how to better improve Blogger’s SEO and I included your link in my post. Please check out my blog if you have a chance. Thanks.
nice Darrin
i wish you had the screenshot of your page on google before and after you apply this trick
thanks
love to read your experience using this trick there
This works, but SEO wise it removes the title data from the pages.
For instance when using http://www.submitexpress.com/analyzer/
if you look at the pages with this swap you will see there is no title tag.
Is there a way to edit the code to fix this?
Thanks,
Mike
[…] Swap Blog Title on blogger 2. Hoctro’s Related Articles (not mine, because my related articles hack doesn’t use […]
This is exactly what I am looking for, however I don’t seem to have that code anywhere in my template. I believe I am using an old (classic) template. Any advice on how to implement something similar?
yes, that means you have to upgrade your blogger version first
don’t worry, it’s free.
thanks
Yes, can’t do that as my template is old school html and isn’t recognized if I attempt to update. Furthermore, I publish to http://FTP.
Hello Jack!
I changed the code as shown in your post, but it doesn’t work for me (I still have the blog title before). Actually, I was already using the following code:
~
And it worked really great, and a couple of weeks ago it stopped working, and I have no idea why!! Would you mind helping me with that? I guess there’s something which makes both codes not work…
Thank you so much in advance!
Daria
Oh, it doesn’ show the code in the comment, but it was the one I found here: http://feeds.feedburner.com/~r/BloggerAuBoutDuDoigt/~3/194988267/le-titre-de-larticle-avant-le-nom-du.html
how to swap title in classic blogger?
is it possible too?
thx
seems your posting gets reposted, unless it’s a cooperation !? - look here http://murugango.blogspot.com/2008/01/swap-blog-title-and-post-title-on.html
Found while searching for the best way to get rid of that title thingy
on blogger
Hey Jack I applied your code correctly on my blog and the title is fixed but when i try to re-arrange the widgets from the layout section it shows this error
“”We’re sorry, but we were unable to complete your request.
When reporting this error to Blogger Support or on the Blogger Help Group, please:
Describe what you were doing when you got this error.
Provide the following error code and additional information.
bX-ji78k6″”
Please can you help..
I want to rearrange something and can’t do it and I don’t to remove your code as it helped my google ranking.
Jack I am having the same issue. I had to removed your code in order to rearrange the layout section. Please advise.
Горнолыжный курорт Красная Поляна - бронирование гостиниц и отелей.
Наши квалифицированные менеджеры подберут вам наиболее подходящий вариант.
http://www.krasnaya-polyana-hotels.ru
nice hack !! but what if i need blog title fist then post title ??
I used this tip, but suddenly today this error happens whenever I save my blog template, even if I have not changed it:
Your template is invalid because the tag ‘b:section’ appears inside of the tag ‘head’.
Any ideas?
Happening here. Seems blogger changed something and this hacks doesn’t work anymore.
Any fix?
Add me to this list! any help?
they changed something, we need to invent new hack)
Hi im also getting this error
Your template is invalid because the tag ‘b:section’ appears inside of the tag ‘head’.
that is my problem too… plss helm me with this
this hack used to work well, but now blogger returns me that I con’t enter “b:section” in the head tag.
I was experimenting with how to work around this, and made my posts unreachable. (Got a “not found” error.) Then of course I couldn’t revert the changes, because the template — which I had downloaded — couldn’t be saved.
I fixed it by moving the opening ‘head’ tag after the closing ‘if’ tag of this title hack. Now the meta tags and the title tag appear in the html before the opening head tag. This displays properly in Firefox, but I haven’t tested it yet on any other browsers. I also have no idea what it will do in search engines.
I wouldn’t recommend this to anyone, but if you break your blog, this might get it back.
Thanks, Drew Kime,
I have just tested in IE 7 and it works well too.
But I don’t know what about the search engine.
Fortunately I didn’t change my blog I just can’t save it because of this, but if I want to make some change, live the advertising, in the future I don’t know what I’ll have to do yet.
This needs to be inside the head otherwise it will not work.
The problem is that Blogger is since some days ago not accepting b: sections within the header which after all makes complete sense… Unfortunately this is completely destroying the post title optimisation hack. There’s people trying to fix it through scripts but this does not have any impact on search engines. We’ll have to wait until Blogger comes up with something. It would be great if they give us the chance to tell the search engines how to read our posts…
I think search engine is not depending on how your title is displayed. As long as your keywords are intact in your title..
What is important is that your title is not too long. cause some Search Engines are cutting it off, because of number of character limit just like the Meta description.. some SE has a 150 limit.
Correct me if I’m wrong…
This code doesn’t work and when i try to add it, blogger gives “Your template is invalid because the tag ‘b:section’ appears inside of the tag ‘head’.” error.
Hi Jack,
I tried to implement swap title tag widget on my blogspot blog. What I got is the following error:
“Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: Open quote is expected for attribute “{1}” associated with an element type “cond”.”
I asked you regarding this earlier also through contact form but you didn’t gave nay reply. I hope you will reply this time.
thanks
nikhil