How to make different keywords for Blogger post

How to make different keywords for Blogger post

In this articles you will learn how to make dynamic keyword or different keywords for each blogger - blogspot.com post. Meta keywords are very important to do better SEO for your blog. And you should know that Search engines look for different description and keywords for each page of your site. If you put the same thing across all pages of your site, search engines may regard this as spam.

To edit your Blogspot template
1.Go to Layout > Edit HTML > Check 'Expand Widget Templates', and don't forget to save a backup before you do anything..
2.Don't forget to remove those comments.
3.Replace those Static Blog meta tags content with the code in this post.





So instead of using "data:blog.pageTitle" you use "data:blog.pageName".

But as far as I see at the very brief Blogger documentation. This is the only way to use labels as meta keywords..
Enough talking.. Here is the code to do it.. which you should place instead of the Head tag..!
The Code is commented and it also outputs the Title and Meta Description tags(using Post title) for your convenience.





Some Issues you should be aware of:

1. Removes all
tag from both codes above. I'm too lazy to do it now :D

2. After Adding that code , you will get errors when trying to do anything in the 'Page elements' and clicking save. the Only solution is cut Block1 from the template & save, do what you need in 'page elements' & save. paste Block1 back in the template.
It is the only way, until Blogger.com pay attention to the issue!

3. Some Meta tags analyzers will warn you that they don't see meta keywords (Cause it was outside of the head).. But Most search engines would be able to find your meta keywords..
As you can see that's why I'm separating the code into 2 blocks:
first one outside the Head tag to output Post Meta keywrds.
Second one inside the Head Tag to output Title and meta description of all pages and meta keywords for index page; without the need of a widget. And in case an engine didn't like those meta keywords, you still have the title and description where they should be.

4. XHTML validation will give your warnings about these issues :
Meta Keywords tag Appears before the Head tag.
Why we have to put that code before the head tag? you have to ask ):
well.. You can't place a widget outside of a section, you can't place a section inside head tag. and Post lables must be called inside of 'Blog' widget.
Meta Keywords will be surrounded with Div tags which should not appear there.
why? Cause Widget and sections Tags are auto. converted to div tags by Blogger..!



Good Luck

0 komentar: