One of the most popular blog posts ever for the Search Marketing Blog is "Optimizing Title Tags in Blogger" with over 72 comments. The significance behind the post is simple - leverage SEO best practices by transposing your Title Tag to put the name of your blog post first.
There are a few folks using different versions of Blogger which have caused quite a few questions and misunderstandings on how to implement this code hack.
The first thing to realize is this - the suggestion below is, in fact, a hack to your design code. As a result, please make a backup of your existing code prior to making any changes to your layout (simply copying and pasting into a text file will do the trick). You'll need this for future changes to you site layout.
Once the blog title tag optimization code is implemented, moving page elements around will cause the following error
Your template is invalid because the tag 'b:section' appears inside of the tag 'head'So, to make a long explanation simple, you cannot move page elements around with the title tag hack code in place. So, here is an alternative hack:
1. Delete the corresponding Title tag code: (Press Ctrl+F to find it within the HTML edit window to find it)
Blogger Beta
<title><data:blog.pageTitle/></title>Blogger Classic Version:
<title><$BlogPageTitle$></title>2. Then Paste the corresponding title tag code hack ABOVE the head tag
Blogger Beta Version:
<!-- Start Widget-based: Changing the Blogger Title Tag -->Blogger Classic Version:
<b:if cond='data:blog.pageType == "item"'>
<b:section id='titleTag'>
<b:widget id='Blog2' locked='false' title='Blog Posts' type='Blog'>
<b:includable id='comments' var='post'/>
<b:includable id='postQuickEdit' var='post'/>
<b:includable id='main' var='top'><title><b:loop values='data:posts' var='post'><b:include data='post' name='post'/></b:loop> ~ <data:blog.title/></title></b:includable>
<b:includable id='backlinkDeleteIcon' var='backlink'/>
<b:includable id='feedLinksBody' var='links'/>
<b:includable id='backlinks' var='post'/>
<b:includable id='status-message'/>
<b:includable id='feedLinks'/>
<b:includable id='nextprev'/>
<b:includable id='commentDeleteIcon' var='comment'/>
<b:includable id='post' var='post'><data:post.title/></b:includable>
</b:widget>
</b:section>
<b:else/>
<title><data:blog.pageTitle/></title>
</b:if>
<!-- End Widget-based: Changing the Blogger Title Tag -->
<title><br /><mainorarchivepage><$BlogTitle$></mainorarchivepage><br /><itempage><blogger><$BlogItemTitle$></blogger> - <$BlogTitle$></itempage><br /></title>Now, moving forward, whenever you want to make a widget or template change, you'll need to make 2 copies of your site code. Save a template with the code and save another template without the code. You can't move page elements around with the code in there so simply replace the hacked code with the original. Make any changes you need and then reapply the hacked code above your tag.
Yes, its an extra step to manage your blog, but the gain in search engine traffic will be worth it!
4 comments:
Make Money with Affiliate Programs
How To Make money with affiliate programs Today. Affiliate marketing is the easier and probably the most effective method to make money from the internet. It is basically, a kind of selling technique where potential buyers from your website are directed to the websites of sellers. For every click, the website owner gets a small commission………
www.onlineuniversalwork.com
Hi,
A good post on Search Marketing Blog Online and Internet Marketing Resource. We are VA4World a virtual assistant firm who provide admin support service for SME’s all over the world. We would like to hear your feedback.
Thanks,
Sridhar – VA4World for viral marketing, SEO and admin support
Thanks a lot...I was looking for exactly this... Do you have anything which optimizes meta content & description also for each individual post pages?
request assistance w/ following your directions. I can't figure out what is happening and why the error.
Post a Comment