Dynamic Meta-tags for Blogger
Wednesday, December 10, 2008
I was surprised, when I have searched for this keyword "Dynamic Meta-tags for Blogger" there is no accurate information given in any website. Some website have given how to generate dynamic title, some shows how to generate dynamic description etc. Then I realize that there are millions of informative blogs, but no one have written about dynamic meta-tags even Blogger is a service of Google.
Your search for dynamic meta-tags is over here.
As usual, backup your blog's template before making any changes to your template HTML.
Step Two
Start by locating the following HTML codes (located somewhere near the top):
<title><data:blog.pageTitle/></title>
<b:skin><![CDATA[/*
Delete this line from your code:
<title><data:blog.pageTitle/></title>
Copy the dynamic header codes from here:
<b:if cond='data:blog.url == "http://yourblogname.blogspot.com/"'>
<title><data:blog.pageTitle/></title>
<meta content='DESCRIPTION' name='Your Blog Home Page Description'/>
<meta content='KEYWORDS' name='Your Blog Home Page Keywords'/> </b:if>
<b:if cond='data:blog.pageType == "item"'>
<title><data:blog.pageName/>:<data:blog.title/></title>
<meta expr:content='data:blog.pageName + data:blog.title + data:blog.pageName' name='Description'/>
<meta expr:content='data:blog.pageName + data:blog.title + data:blog.pageName' name='Keywords'/>
</b:if>
</code>
Paste the copied code directly above the
Do not forget to change
-
- Your Blog Home Page Description
- Your Blog Home Page Keywords
First code will be fixed metatags for your blogs home page and second code will generate dynamically metatags for your individual pages.
Click on the Save Template button.
Congratulations, you have successfully changed your blog's static header to a dynamic header. Try it out.
For any sort of SEO Services contact Web Development India.