Home IT Knowledge Base General How to add different Meta tags to individual bogger posts
 14 people online.

Share & Bookmark

Add to: Digg Add to: Del.icoi.us Add to: StumbleUpon Add to: Furl Add to: Yahoo Add to: Technorati
by: Camp26.Com
 
How to add different Meta tags to individual bogger posts

By Andrew Leaning, on 03-02-2009 22:11

Views : 6448    

Metatags are words burried in the HTML of webpages that help search engines classify the content. A metatag for this page for example might be: blogger, metatags. When a search engine finds this page it then knows that this page is about 'blogger' and 'metatags' and as such can help with search engine optimization.

To add specific tags to particular posts you'll need to edit the template.

 

  1. Login to Blogger and select 'Layout' 
  2. Click on 'Edit HTML' 
  3. Note: The following requires editing your Blogger template. Mistakes made while doing this can break your blog so you should back-up your blog template before starting.  To do this, click on the 'Download your full template' button and save the file somewhere safe
  4. Now find the line: 

    <b:include data='blog' name='all-head-content'/>
     
  5. Insert the following below this line:

    <b:if cond='data:blog.url == "http://bloggertricks.com/"'>
    <meta content='DESCRIPTION' name='description'/>
    <meta content='KEYWORDS' name='keywords'/>
    </b:if>

    In first line, change the "http://andrewleaning.com" to the URL of the page containing the post you wish to add tags to.

    In the line 'description' change the word between the second set of quotes to a short description of your post.

    In the 'KEYWORDS' line, add a list of comma separated words between the second quotes, eg: 'blogger, post, metatags' 

  6. Now click on 'SAVE TEMPLATE'. 

 

And that's it, the post with the URL entered will now have its own description and metatags. You can repeat this just by changing the URL entered for each post.

 

Last update: 03-02-2009 22:11

Comments Print Email a friend Related articles
PDF