Friday, February 05, 2010

Duplicate Blog Posts? Remove The Duplicate!

As a savvy consumer, you likely love to hear about offers for 2 for the price of 1, of something that you buy frequently. That's a great deal, normally.

It's not for blog posts, though.

When you start to see double in your blog, chances are that you duplicated the Blog Posts entry in the template. It's not hard to fix, fortunately.

Edit the blog template, using the dashboard Template - "Edit HTML" wizard. Do not expand or unfold any widgets.

If you unfold either 'Blog1' or 'Blog2', you will have to find the end of the unfolded gadget section, which could be hundreds of lines later. If you delete 1 too many, or 1 too few, unfolded lines, you will get a syntax error.
Error parsing XML: ... The element type "b:section" ...
Deleting just one line (see below) is way easier, believe me.

Look for two lines, in the Body of the template, which may or may not be immediately next to each other in sequence:
<b:widget id='Blog1' locked='true' title='Blog Posts' type='Blog'/>


<b:widget id='Blog2' locked='true' title='Blog Posts' type='Blog'/>
<b:widget id='Blog2' locked='true' title='Blog Posts' type='Blog'/>
<b:widget id='Blog1' locked='true' title='Blog Posts' type='Blog'/>

Save the change. You will get a stern warning when you save, demanding that you confirm that you really want to delete "Blog2". Obviously, you do. And don't forget to clear browser cache, and restart the browser, to reliably test your change.

Remember to save a copy of the template, before and after doing this.

And now, since you're here, and if you just removed a duplicate post template from your blog, help me to help others, and think why you're here.
  • What changes have you made, to the blog?
  • What accessories have you installed?
  • Any templates - Blogger or third party? - installed?
  • Any changes between classic and layout templates?
  • What Blogger features / wizards do you use?
    • Draft Blogger?
    • New, or Old, Post Editor?
  • What third party services have you ever allowed to access the blog directly, to install something?
Solving this problem starts with you.

>> Top

Dude, hit me with a comment!

Deanna! said...


Christi McHale said...


farsya liana said...

i've problem where i can't find

so,is there any other method i can solve duplicate post..?
please do email me if u do have..

Chuck said...


This is a problem which, if you can't solve it immediately from here, must be solved from Blogger Help Forum: Something Is Broken - where we can diagnose interactively.

SAIS Al Hada said...

I looked for the duplicate in my HTML but it's not there! There is only ONE b:widget: etc. blog1 there is no blog2 and I have looked several times very carefully! That ELSE can I do to remove the extra posts? This is extremely annoying! Blogger is the worst for solving problems!

Chuck said...


A problem like this you really must report in BHF: Something Is Broken. There's no other way to handle it!

Crazzy Bulderz! said...

thanks a lott....buddy....the info was really helpfull



Cecile said...

thank you so :-)

dihadiha said...

finally i manage t solve my whole lofe blog problem! haha

Erlen said...

In my blog the error line apeared like that:

but I deleted it anyway, and all worked well.

Tanks a lot for your help.

BlueBerry said...

It doesn't work for me !!
I have this :

and there is other widget I'd like to remove but it doesn't work ... and blogger team doesn't answer me ...

kakkukatri said...

I was trying to remove that, but it gave me on error code bX-2lh1wk.

Chuck Croll said...


Were you using the Classic, or the New, Blogger GUI?

kakkukatri said...

I use new one.

Sabrina said...

You're a champ! Thanks a lot for this!

shasjr said...

really thanks alotttt thankyou very muchhh :DD

CurvyCdn said...

THANK YOU SO MUCH. That was bugging me. I can't believe it was all because of one errant line of code. Rawr.

Rada Chan said...

Thank you so much. You've been a great help to me :D