If you're new here, you may want to subscribe to my RSS feed. One advantage of subscribing to RSS feeds is that you don't have to constantly re-visit this site to check for updates within specific sections you might be interested in because your browser or Feed reader will do this for you automatically on a regular basis plus you can even get email notification. Thanks for visiting!
If you have a blog thats hosted in Blogger.com, you may notice that the title tag on each article are the same. If you want to optimized your blog to get more traffics you may want to dynamically change that to the title of your post. Well, here is the tweak to do just that.
Step 1 Go to Blogger Dashboard>Layout>Edit Html
Step 2 Backup your template (just to be sure)
Step 3-Follow the instructions below
Find this code in your XML template
<title><data:blog.pagetitle/></title>
Now replace it with
<!-- Start Widget-based: Changing the Blogger Title Tag -->
<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 -->
Now if you go to your blog, you will see that the title of your article will be the one displayed in the blog html title tag.
Article copyright BookOfTips.Blogspot.Com - Find helpful tips that can help you with your daily activities. All rights reserved. No part of an article may be reproduced without the prior permission.
|
Dynamic Blogger Blog Title - Changing Blog Title
Posted in
Blogging Tips And Guides
If you enjoyed this post
Subscribe to our feed
Thnaks a lot for this information. It has really helped me a lot. Keep up the great work.
Very good article. It did helped me a lot. Thanks a plenty.
Really great information on your blog. Keep it up man.
Your template is invalid because the tag 'b:section' appears inside of the tag 'head'.
can u explain this tome ?
thanks b4