Pages

Showing posts with label Search Engine Optimization. Show all posts
Showing posts with label Search Engine Optimization. Show all posts

Sunday, April 24, 2011

Meta tag seo working with post, page, label, archive for blogger-blogspot

Meta tag seo working with post, page, label, archive for blogger-blogspot.
I read many code from others blogs for meta tag seo for blogger but i don't like them. So i wrote following code:


<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="robots" content="INDEX,FOLLOW" /><link href='url of your favicon' rel='shortcut icon'/>
<meta content='id of your site-verification' name='google-site-verification'/>
<b:if cond='data:blog.url == data:blog.homepageUrl'>
<title><data:blog.title/></title>
<meta content='Vnhowto -How to blogger, blogspot, search engine optimization, tip, vietnam,ho chi minh city' name='description'/>
<meta content='vnhowto, blogger, blogspot, search engine optimization, tip, vietnam,ho chi minh city' name='keywords'/>
<b:else/>
<title><data:blog.pageName/> ~ <data:blog.title/></title>
<meta expr:content='data:blog.pageName' name='description'/>
<meta expr:content='data:blog.pageName' name='keywords'/>
</b:if>

 The code above can show title, description, keywords for post, page, label, archive of blogger - blogspot blog.
How to use:
  1.  Replace red code with your own
  2. Find the following code:
<b:include data='blog' name='all-head-content'/>


 Place the meta tag code just after: <b:include data='blog' name='all-head-content'/> 

Done.
If you feel the code is not good,  please recommend here with your better meta tag code. Thank you.