Sabtu, 06 November 2010

How to add Description and Keyword metatags to Blogger blogs?

Though Blogger is a Google product, blogs hosted on blogger do not have support for meta descriptions and keywords by default. If you have ever tried adding keywords or description meta tags to your Blogger pages, you might have seen that there is no easy way of implementing that. Here is a workaround to make changes to your blogger template in order to add description and keyword metatags of your choice to your blogger top page as well as to your posts.
In the Layout panel of your blog, click on Edit HTML.
Click on Download Full Template and save a backup copy of your template. This will come in handy to undo any changes in case the changes do not work as expected
Look for the following code in the template
Blogger metatags
Add the following code immediately after the code in step #3.
Blogger meta tags
Replace the http://myurl.blogspot.com/ line with the URL of your blog top page.
Replace the word MY DESCRIPTION with a description for your blog top page.
Replace the word MY KEYWORDS with a list of keywords separated by commas, relevant to your blog top page.
You would need to to follow the steps 4 to 7 – for adding corresponding URL’s, descriptions and keywordsfor for all the individual posts from your blog. For example, if your first article is about your visit to New York, you’ll need to as follows.
Add this code again immediately after the
<b:include data=”blog” name=”all-head-content” /> line:
Replace the http://myurl.blogspot.com/ line with http://myurl.blogspot.com/my_visit to_newyork.html.
Replace the word MY DESCRIPTION with description of your visit to New York.
Replace the word MY KEYWORDS with keywords such new york, business visit, usa visit etc.

0 komentar:

Posting Komentar