Meta Tags For Blogger / Blogspot
4/03/2010 02:53:00 PM
Posted by youme
Meta Tags are HTML elements used to provide structured metadata about a web page. Such tags are placed in the head section of an HTML document
We can also add meta tags to Blogger Blogs.But the problem is that having the same meta tags for all pages in your blog is not a good practice.So it would be better if you could add meta tags on your home page only.Just find out the appropriate keywords and description for your site and follow these instructions
Adding Meta Tag For your Blog’s Home Page
Now copy out the following code into a text file
<b:if cond='data:blog.url == data:blog.homepageUrl'>
<meta content="Your keywords separated by commas" name="keywords"/>
<meta content="Your Site Description" name="description"/>
</b:if>
Make the following Replacements
1.Replace Your keywords separated by commas with your site's keywords.
2.Replace Your Site Description with a good description of your site.
I would suggest you to take into consideration the following character limits
a)The maximum size of your site description should be 150 characters
b) It would be better to limit the keyword size to 200 characters
you might use this Character count tool.. Now copy out the edited code and place it within the head section of your blogger template.. It would be appropriate to place it below the title tag code.
<title><data:blog.pageTitle/></title>
If you are using my SEO Title Tag hack, then you will have to place the meta tags after the whole of the title tag hack i.e. place it below the following code.
<!-- Start www.bloggerplugins.org: Changing the Blogger Title Tag -->
<b:if cond='data:blog.pageType == "index"'>
<title><data:blog.pageTitle/></title>
<b:else/>
<title><data:blog.pageName/> ~ <data:blog.title/></title>
</b:if>
<!-- End www.bloggerplugins.org: Changing the Blogger Title Tag -->
When you use this meta format, these keyword and description meta tags will appear on your blogs home page only thus, avoiding duplicate meta tags on blog pages..
Now you may see other blog posts around the web which will auto generate Meta Description for each blog post.They use the Post Title as the meta description. But i don’t think that its a good option to set your Post Title as your Post’s meta description. So i would advice you to use Meta Description and keyword tags on Home Page only.
If you are very particular and really need to add meta tags to some of the posts then you can manually do that also..In that case you will have to follow the following format. here is the code that i have used for implementing meta tags on this particular post page.
<b:if cond='data:blog.url == "http://www.bloggerplugins.org/2008/06/meta-tags-for-blogger-blogspot.html"'>
<meta content="optimize blogger,optimize blogspot,meta tags for blogger" name="keywords"/>
<meta content="Adding Meta tags to blogger blog is very useful. Here is a tutorial on Optimizing blogger by using appropriate meta tags on homepage and post pages." name="description"/>
</b:if>
You should replace the post url,the keyword and description tags appropriately(brown coloured ones) and place them in the head section of your template.
Tags:
Blogger,
Tutorial
This entry was posted on 4/03/2010 02:53:00 PM.You can leave a response, or trackback from your own site.
This entry was posted on 4/03/2010 02:53:00 PM.You can leave a response, or trackback from your own site.
Related Posts:
Blogger
,
Tutorial
- Share this on del.icio.us
- Digg this!
- Stumble upon something good? Share it on StumbleUpon
- Share this on Reddit
- Add this to Google Bookmarks
- Tweet This!
- Share this on Facebook
- Share this on Mixx
- Subscribe
- Buzz up!
- Share this on Linkedin
- Submit this to DesignFloat
- Share this on Technorati
- Submit this to Script & Style
- Post this to MySpace
- Share this on Blinklist
- Share this on FriendFeed
- Seed this on Newsvine
Subscribe to:
Post Comments (Atom)
April 3, 2010 at 4:17 PM
Thank you very much :)