We started as a free blogspot blog 6 months ago,
Now we make $500 per month. Want to learn from our experience? read and subscribe!

New way to swap Blog Title and Post Title on New Blogger

By Jacky Supit • Dec 4th, 2007 • Category: blogging tips - blogging tricks

Have Our Post Delivered to Your Inbox!

Enter your email address:

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.

Don't forget to subscribe!

Related Entries

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

130 Comments »

2007-12-04 17:58:39

[…] hack has been depreciated. You can learn the new and easier way to swap blogger title here. […]

Comment by Eli
2008-04-21 14:52:15

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??

 
 
Comment by melayubuntu
2007-12-04 18:49:03

thanks jack..
i’ve applied this for my blog.. :wink:

 
2007-12-04 19:51:52

[…] 2. I recommend you to install a title swapper too, so install this hack first. Swapping Blogger Title. […]

 
Comment by kawan_cyber
2007-12-04 21:16:42

Thanks Jack..
This new swapping blog title hack is so easy than before.

 
Comment by Mohamed Shafi
2007-12-04 22:09:03

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 ?

Comment by Jack
2007-12-05 13:14:44

what is your blog url?
do you use new blogger version or the classic one?
this hack works on new blogger version. thanks

 
 
Comment by Mohamed Shafi
2007-12-04 22:12:23

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

Comment by Jack
2007-12-05 13:18:14

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

 
 
Comment by Ricardo Santos
2007-12-04 22:20:27

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

Comment by Jack
2007-12-05 13:18:51

just send me your xml template, and i will install it for you
thanks

 
 
Comment by Ricardo Santos
2007-12-04 22:21:19

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

 
Comment by Ricardo Santos
2007-12-04 22:23:18

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

Comment by Jack
2007-12-05 13:20:40

yes, you can use that one.

 
 
Comment by KURT
2007-12-05 00:10:22

What is the use of this hack n what does it does excatly..? :cry:

Comment by Jack
2007-12-05 13:26:11

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

 
 
Comment by Gabriel Porras
2007-12-05 01:18:25

Excelentttt!
Thanks you.. I hate the old tick.. But this one is verrryyyy Cool!
You rules!

Comment by Jack
2007-12-05 13:27:54

thanks Gabriel,
glad to know that you like it.

 
 
Comment by Rome
2007-12-05 02:25:41

Jack, I my titles already change on each page. Do I need to install this?

Comment by Jack
2007-12-05 13:30:25

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

 
 
Comment by Angel
2007-12-05 02:51:56

I’m with KURT, what does this do exactly? A little explanation would really help.

 
Comment by Rome
2007-12-05 03:48:07

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.

 
Comment by KURT
2007-12-05 03:52:58

Then whats the difference between Adding Meta Tags and swapping blog title…

Comment by Jack
2007-12-05 13:32:44

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

 
 
Comment by steupz
2007-12-05 05:44:20

Can you add this to the existing hack and remove the “-” you may have used as your blog title?

Comment by Jack
2007-12-05 13:38:04

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

 
 
2007-12-05 15:10:04

[…] how to do this tricks? you can do swap title on blogger here, and Meta Tags on blogger here. Share […]

 
Comment by Kunkun
2007-12-05 15:49:59

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.

Comment by Jack
2007-12-05 17:54:18

send me your xml template, i will install it for you
thanks

 
 
Comment by Jack
2007-12-05 20:38:14

please just send me your xml template if you can make it guys
thanks

jack

 
Comment by steupz
2007-12-06 01:03:37

I tried and got the message kukkun received. I’ll try again because I know you must be terribly busy.

 
Comment by Angel
2007-12-06 05:10:41

Thanks for this. works perfectly! :D

 
Comment by Kunkun
2007-12-06 19:03:44

Exactly i am using “3 Columns Blogger Template, Beautiful Red Apple”.

thank in advance

 
Comment by rohman
2007-12-06 21:53:18

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>
&ltb:section id=’swaptitle’>
</code>
</blockquote>

So HTML code will show perfectly.

sorry jack…i’m just suggestion.

Comment by Jack
2007-12-07 12:25:44

hi Rohman,
sorry but what were you trying to say?
what is the relation with this post? thanks

Comment by Rome
2007-12-07 22:42:17

can you rephrase this? :shock: *nosebleeds*

(Comments wont nest below this level)
 
 
 
Comment by julia
2007-12-06 22:24:10

just did this with flying colors!
i see the result instantly

 
Comment by phostan
2007-12-06 22:49:13

Hi, when i tried to install it in blogger, after i saved it changed to




any idea what’s happening here? :?:

 
Comment by phostan
2007-12-06 22:53:47

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. :roll: :oops: :razz: :grin:

 
Comment by balootisme
2007-12-07 01:09:11

hey jack.. :mrgreen:

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

 
Comment by Melv
2007-12-07 23:21:32

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.

 
Comment by aydınlatma
2007-12-07 23:43:13

good app for my blog’s Seo .thanks Jack

 
Comment by Fashion Zealot
2007-12-08 03:48:43

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.
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! :???: 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! :smile:

Comment by Jack
2007-12-08 15:14:48

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.

 
 
Comment by balootisme
2007-12-10 21:04:56

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.. :mrgreen:

 
Comment by Fashion Zealot
2007-12-10 21:31:11

I got it! Thanks! How about my second question?

 
Comment by l3utterfish
2007-12-11 19:42:04

how to do it in OLD BLOGGER TEMPLATE??

Comment by Jack
2007-12-12 10:50:43

it’s easier actually.
do you need me to create that tutorial too?

 
 
Comment by Jehzeel Laurente
2007-12-11 23:49:29

thanks for this.. it really really works :D

 
Comment by ArahMan7
2007-12-12 14:42:43

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, ;-)

 
Comment by simon
2007-12-13 10:17:32

hi jack pliss good trik :grin:

 
Comment by farhan
2007-12-18 20:59:40

:neutral: Hi Jack, Id try to install swap title to my blog, but still error with it (More than one section was found with id: swaptitle. Section IDs should be unique). Can you help me to install it? thanks

 
Comment by farhan
2007-12-18 21:06:18

Im sorry jack I already saw the code after tick the “expand widgets template” checkbox ..Its installed now.. :grin:

 
Comment by Feureau
2007-12-22 05:47:41

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.

 
Comment by raj
2007-12-24 15:16:23

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”.

 
Comment by julia
2007-12-29 22:21:08

hi! i change mytheme so i need this again!

is
“”

the same with

“”

 
Comment by julia
2007-12-29 22:24:27

wtf?
i type some code on that comments (its gone!)
btw, i done it again!

 
Comment by maddy
2008-01-02 17:39:23

Is it possible by any chance to get labels displayed within the meta tag as keywords?

thanks

 
Comment by Max@speed
2008-01-08 11:10:36

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.

 
Comment by helder
2008-01-11 19:12:07

hi
if I change my template, I lose these changes, also my meta tags.
Any simple workaround, or i should do it all again?

 
2008-01-11 21:51:20

[…] You also get already swap title […]

 
Comment by BlogTemplate20
2008-01-12 10:00:28

I just confused aout how to swap title of Blogger classic html template..can you tell me please.. :cry:

 
Comment by Darrin
2008-01-15 06:21:56

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.

Comment by Jacky Supit
2008-01-15 08:37:27

nice Darrin
love to read your experience using this trick there :) i wish you had the screenshot of your page on google before and after you apply this trick :) thanks

 
 
Comment by Mike
2008-01-16 09:07:09

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

 
2008-01-18 15:25:50

[…] Swap Blog Title  on blogger 2. Hoctro’s Related Articles (not mine, because my related articles hack doesn’t use […]

 
Comment by J. T. Pednaud
2008-01-21 21:46:06

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?

Comment by Jacky Supit
2008-01-22 10:03:14

yes, that means you have to upgrade your blogger version first
don’t worry, it’s free.
thanks

Comment by J. Tithonus Pednaud
2008-01-26 08:52:25

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.

(Comments wont nest below this level)
 
 
 
Comment by Daria
2008-01-25 17:15:10

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

 
Comment by Daria
2008-01-25 17:16:14

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

 
Comment by misterpopo
2008-02-01 07:12:05

how to swap title in classic blogger?
is it possible too?

thx

 
Comment by Kim Hjortholm
2008-02-18 03:05:06

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

 
Comment by talsi123
2008-02-20 23:06:52

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.

Comment by Brad
2008-02-22 23:40:34

Jack I am having the same issue. I had to removed your code in order to rearrange the layout section. Please advise.

 
 
Comment by NikolRU
2008-02-21 00:02:24

Горнолыжный курорт Красная Поляна - бронирование гостиниц и отелей.
Наши квалифицированные менеджеры подберут вам наиболее подходящий вариант.
http://www.krasnaya-polyana-hotels.ru

 
Comment by sachinKT
2008-02-28 00:14:45

nice hack !! but what if i need blog title fist then post title ??

 
Comment by Andrew Z
2008-02-29 22:09:20

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?

Comment by lola
2008-03-01 03:07:36

Happening here. Seems blogger changed something and this hacks doesn’t work anymore.
Any fix? :cry:

 
 
Comment by cheapdanny
2008-03-01 05:25:23

Add me to this list! any help?

 
Comment by alexnjoy
2008-03-01 06:41:35

:mrgreen: I have the same problem :???:
they changed something, we need to invent new hack)

 
Comment by sachinKT
2008-03-01 12:28:50

Hi im also getting this error
Your template is invalid because the tag ‘b:section’ appears inside of the tag ‘head’. :???:

 
Comment by reborn25
2008-03-01 15:49:55

that is my problem too… plss helm me with this

 
Comment by Xacur
2008-03-02 07:56:11

this hack used to work well, but now blogger returns me that I con’t enter “b:section” in the head tag.

 
Comment by Drew Kime
2008-03-03 02:41:47

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.

 
Comment by Xacur
2008-03-03 03:41:20

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.

 
Comment by BAS
2008-03-03 20:59:14

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…

 
Comment by reborn25
2008-03-03 23:26:48

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.
:smile:

Correct me if I’m wrong…

 
Comment by escaper
2008-03-03 23:52:22

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. :???:

 
Comment by Nikhil
2008-03-04 11:28:52

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

 
Comment by Christine
2008-03-06 19:40:28