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.

Step One
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):


Delete this line from your code:

Copy the dynamic header codes from here:

<b:if cond='data:blog.url == "http://yourblogname.blogspot.com/"'>
    <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"'>
<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'/>

Paste the copied code directly above the
<b:skin><![CDATA[/* code.

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.


  © Blogger template Cumulus by Ourblogtemplates.com 2008

Back to TOP