Saturday, September 26, 2009

Create Different Meta Tag on Blogger Platform.

Happy blogging.After view day not make any posting, today i try to share new tips for creating different meta tag on blogger platform. As we now that blogger create duplicate meta tag. When you create meta tag, all page on your blog have the same meta tag. And this is not good in indexing and serp.

We can use simple way with algoritm technique. Using conditional IF to solve this problem. All you have to do just read this below explanation and try on your blog.


Go to your dashbord menu. Dashboard »Layout» Edit htm. Find this sentences :
<b:include data='blog' name='all-head-content'/>
And add this code below :
<b:if cond='data:blog.url == "http://yourblog.blogspot.com/"'>
<meta content='DESCRIPTION' name='description'/>
<meta content='KEYWORDS' name='keywords'/> </b:if>
With that code we create meta tag for home page. To make different meta tag for each post do you have. Just copy and type code like upstair and change the URL Homepage with your URL Posting or Page.
<b:if cond='data:blog.url == "http://yourblog.blogspot.com/"'>
<meta content='DESCRIPTION' name='description'/>
<meta content='KEYWORDS' name='keywords'/> </b:if>
<b:if cond='data:blog.url == "http://yourblog.blogspot.com/page"'>
<meta content='DESCRIPTION' name='description'/>
<meta content='KEYWORDS' name='keywords'/> </b:if>

So simple with conditional IF. Now you have different meta tag for each post on your blog.

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...