Monday, April 5, 2010

Meta Tag For Blogspot

Meta tag is angel for blogspot, not any meta tag, its not blog. The function of meta tag is to chose at search engine what your blog relevant or not. Meta tang is placed under <head>: . Meta tag is consist of many type, but meta tag description and keyword is heart of meta tag. Ok lets see this meta tag :
<meta content='description' name='description'/>
<meta content='keywords' name='keywords'/>

if on your blog the meta tags is like this. its wrong.. its make all your page and your blogpost have a same meta tag.

so you can replace with this code :

/* This code is for meta tag hompage */

<b:if cond='data:blog.url == data:blog.homepageUrl'>
<meta content='Your description' name='description'/>
<meta content='your keywords' name='keywords'/>

/* This code is for meta tag pages */

<b:if cond='data:blog.pageType == "item"'>
<meta expr:content='data:blog.pageTitle' name='Description'/>
<meta expr:content='data:blog.pageName + " keyword "' name='keywords'/>
Replaced the italic words with your description and your keword ^_^ enjoy it..

Simmilar Posts by Categories


Post a Comment