| 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. - Login to Blogger and select 'Layout'
- Click on 'Edit HTML'
- 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
- Now find the line:
<b:include data='blog' name='all-head-content'/> - 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'
- 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
|
|