Sunday 21 June 2009

How To Remove Blog Name From Page Title In Blogger

Blogger is a great free blogging platform.



It is very easy to use with a lot of code built in to the template making the more user friendly, especially for those of us not overladen with technical skills.


But this advantage could be a draw back with regards to some aspects of SEO. The problem being that when you publish a new post, the title page reads 'name of blog then title of post'.



We all know that for the purposes of search engine optimization, the keywords should appear early in your title.



So how do you stop the blog name appearing in the title of every post.


How do you change the search engine listing of your blogger posts from the format indicated by the red arrow to the format indicated by the green arrow ?










It's surprising how easy this is
  • Log in to your blogger account and go to your layout page

  • Click on edit HTML

  • Back up your current template [there is a prompt to do this on your edit HTML page]

  • Click on 'expand widget templates'

  • Look near the top of the html page and find this code
  • Replace it with the code below

  • Make sure that before editing the code you MUST back up your template

  • Once you have finished save

It takes a few days for your changes to show in your blogs title in the search engine listings. The changes occur when the search engine bots have crawled and re-cached your posts

Here's the code for those of you who want to copy and paste

<b:if cond= 'data:blog.pageType == &quot;index&quot;'><title><data:blog.title/></title><b:else/><title><data:blog.pageName/></title></b:if>

Hope this helps Andy

23 comments:

Colby said...

Nice blog post! I'm new to all this stuff and your blog quinces my thirst for knowledge on the topic. One topic that I need help on is when to start monetizing. It would make a great topic! Thanks.

-Colby of Oklahoma

ami said...

Hi colby and thanks for dropping by
When it comes to blog monetization, start as soon as you have a few posts indexed in the search engines. 5 posts should do it

Anonymous said...

Hey bud, awesome post! I just had a question... What about reversing the order... Is that possible?

So instead of "Niche, Traffic, Sale: How To Remove Blog Name From Page Title In Blogger", it would be:

"How To Remove Blog Name From Page Title In Blogger: Niche, Traffic, Sale"

Is that possible?

Thanks a lot.

Michael said...

Hi, great idea.

That's something I hadn't even thought of, let alone started trying to work out how to tackle it.

Thanks for the info.

Cheers,

Michael

NeTwIsE said...

nice Post
bt when i post the code in my template its give me error
please will you help me why its give error to me while others do it perfectly ?

ami said...

Netwise. I don't know what to say!!
If you follow the instructions as is, there really should not be a problem.
All I can say is go over the steps and try to follow things step by step

Andy said...

Hi Ami.. I really would like to remove my blog name but! I can not copy the code from your post. Do you have it in rich text format so I can copy and paste rather than write it all down on a piece of paper the type it into mt blog?

Great post as usual, Cheers Andy

Chintan said...

Thanks a lot for your detailed post, I have made changes as you suggested. Lets find out if it work.

Andy said...

Hi Ami, I have implemented the changes, then sat back and waited for Blogger/Google to refresh my pages. Unfortunately the opposite has occured! The Blog name is displayed and all the post titles are now missing. Which is not what we wanted to achieve. Heeeeeeeelp!!

ami said...

The code is the one used here. I think you need to relode your template back upand start again

Please let us know the results when you have redone it following the steps as described

charles said...

Hi
Thanks indeed for this great post.i added the code to my template it too a bit of time for search engines to stop displying the blog name with post tittle. but what is great is that my posts now are receiving good traffic.

jambad said...

Andy, thank you! It worked perfectly.

ami said...

Not sure who Andy is but you are most welcome jambad

Esydownloads said...

this is not working in my Blog

ami said...

Hi esydownloads.
It takes a few days for the changes to show. How often does your blog get crawled. Usually at the next search engine bot crawl

If it does not work, after a few days I'd suggest you look closely at what you've done. There may be an error somewhere

This has worked on ALL my blogger blogs

Anonymous said...

Hi, thnks for the help.I was looking for this. It worked for me fine.Thanks a lot.

ami said...

Thanks for dropping by Varun.

I hope esydownloads has sorted it out on his blog

Andrei Dmny said...

Thanks !

Scott said...

Cool. Works like a charm. Thank you so much!

Anonymous said...

Thank you very much! I thought the code was not working but when I restart my browser it finally worked. It helped me a lot

Unknown said...

thanks to your post. It works.

Akash Naik said...

Thanks a lot for this. It works wonders! I needed it greatly...

http://nigeria-galleria.blogspot.com/ said...

Nice information. Its usefulness and significance is overwhelming the way you covered all the basic necessary information is really impressive, good work keep it up.