New way to swap Blog Title and Post Title on New Blogger
UPDATE:
With Blogger Blogspot Engine System Changed, now this hack is not working anymore, that means this post is depreciated. Luckily, we have the update and the fix of this hack. you can find the hack to swap blogger title here.
Here 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
- Updating and Fixing The Swap Blogger Title Hack
- Swapping Blog Title and Post Title on Blogger. [for a better SEO Implementation.]
- 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.
- Three Columns Art Blogger Template
- Swap Title on Blogger Classic Version
Or Read Our Articles Via Your Feed Readers?

[...] hack has been depreciated. You can learn the new and easier way to swap blogger title here. [...]
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 ?
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
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”
” 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
What is the use of this hack n what does it does excatly..?
Excelentttt!
Thanks you.. I hate the old tick.. But this one is verrryyyy Cool!
You rules!
Jack, I my titles already change on each page. Do I need to install this?
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…
Can you add this to the existing hack and remove the “-” you may have used as your blog title?
[...] 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.
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.
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
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!
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??
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
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.
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
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?
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.
??????????? ?????? ??????? ?????? - ???????????? ???????? ? ??????.
???? ????????????????? ????????? ???????? ??? ???????? ?????????? ???????.
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?
Add me to this list! any help?
Hi im also getting this error
Your template is invalid because the tag
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
Hi Jack,
I’m glad to find your great hack here. I recently created a blog and followed your instructions to replace the tag with your new codes. But it seemed to be not working for my template. When I saved the template,I’ve got the following message:
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’.
Can you help me ?
Hey Guys, the code doesn’t work anymore with the latest update from Blogger. As what BAS commented, I guess we have to wait for the fix from Blogger?
Works like charm when you put the code above the head element!
Hello everybody, my name is Damion, and I’m glad to join your conmunity,
and wish to assit as far as possible.
Hi jack !
I’ve a problem when hack my template !
When i save it has an error:
Your template is invalid because the tag ‘b:section’ appears inside of the tag ‘head’.
Please help my
Thanks jack !
@Ilker are right, it can be down by changing the hack to be above the head tag - I’ve posted a more precise how-to on my site
” or “/>”.
Please help me
thanks >
thank for this tip because i can’t use this tips because eror message with XML error message: Element type “b:if” must be followed by either attribute specifications, , please help me, thanks for this share your article. Thanks
Hi
Wasjust serfing on net and found this site…want to say thanks. Great site and content!
jeux poker internet…
…
www online poker net…
…
des jeux de poker
citibank credit card application status citibank credit card application…
…
t
keno inlinea…
…
consolidate credit card payment…
…
Your template is invalid because the tag ‘b:section’ appears inside of the tag ‘head’.
What’s that ?? The code must be inside ‘head’ right ?? But the template won’t save because the code inside the head…
It doesnt work for me
it says
Your template is invalid because the tag
stip poker gratis…
…
poker pc spiel kostenlos…
…
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”.
This massage has been given as i changed my blog
you thr to see this
I can’t find , but I tried to replace the code you given above with . It did’t work and I couldn’t save the template! What can I do? Thanks in advance
Superb blog , thanks for making me to understand how to add meta tags, description to my blogs
Thanks
I want to be sure I’m understanding you correctly.
is what my html says.
Do I get rid of the parts as well? I realize you said ‘replace’. Did you mean get rid of the whole line, and replace with the code above?
Also would http://www.google.com/webhp?hl=en&complete=1 be a good source to start working on the meta tag choices? I didn’t think you could do meta for blogger, and never really gave it much thought! LOL! I figure between my analylics, and this tool (link) it maybe a good place to start for keywords for my blog.
Thank you for your time!
I never thought about placing ads, etc on my blog before, and my friends just screamed for me to do this! LOL Might as well do other things as well to increase my knowledge.
????? ????, ??????? ????, ???? ?????, ????? ???????????, ??????? ???????????, ??????? ????, ??????? ????? ????
??????? 8(985)729-6066 ?????? ??????? ?? ????