Swapping Title / Description for Posts and Label
Posted by
Milan at 12.05.2007
Share this post:
|
Bloggers must be aware of the limitation of the blog from free blog-hosting service like wordpress and blogger. Some limitation are very crucial from SEO point of view like tile and description of the blog. Search engines are continuously in search of new and fresh information providing websites. To crawl such websites, search engines uses title and description, also called meta tag, of the website or webpages. This was one of the hurdle for blogger.com user where they can't provide unique title and description to their every post.
For example: If, by default, title of your blog is: Hello this is the title of the blog
then title of your post will be Hello this is the title of the blog: This is the title of the post.
using this trick you can remove the default title of the blog from the title of the post.
Here an option 'HTML edit template' in blogger.com, comes to aid, where you can accomplish this task of unique title/description to your every post or label. This hack will definitely rock your blog performance and your SERP (Search Engine Ranking Position). See demo post
To get this done, follow the below steps....
Step-1
Log-in to your blogger.com >> Layout >> edit HTML
Step-2
Find header area find below...
<title><data:blog.pageTitle/><title>
Step-3
Replace <data:blog.pageTitle/></title> with below one...
<b:if cond='data:blog.url == "http://your-post-url.blogspot.com/2007/11/swapping-blog-title.html"'>
Title for post goes here
<b:else/>
<data:blog.pageTitle/>
</b:if>
</title>
<b:if cond='data:blog.url == "http://your-post-url.blogspot.com/2007/11/swapping-blog-title"'>
<meta content='Description for your post goes here' name='description'/>
Step-4
Change post url with your desired post url.
Save template.
This trick will provide separate title and description to the particular post. This hack might sound similar to the one by jackbook.com. But there is difference jackbook use data:post.url where as I am using data:blog.url, which is more feasible.
further, if you wanna swap blog title for more than one post url you should add below code....
<title>
<b:if cond='data:blog.url == "http://Post-url-1.blogspot.com/2007/11/collection-of-free-beta-blogger.html"'>
Collection of Free Fresh Beta Blogger Templates Hacked
<b:else/>
<b:if cond='data:blog.url == "http://Post-url-2.blogspot.com/2007/12/swapping-title-for-posts.html"'>
Blogger.com: Swapping Blog Title For Post and Label
<b:else/>
<b:if cond='data:blog.url == "http://Post-url-3.blogspot.com/2007/11/swapping-title-for-posts.html"'>
Paid to ProofReading: Make Money Reading Books
<b:else/>
<data:blog.pageTitle/>
</b:if></b:if></b:if>
I have apply this hack for my 5 labels. As it is tested in my post, chances are slim to get error to get it done for you, yet you can ask help if any error.