A better way to add meta tags to Blogger
One way to improve SEO (Search Engine Optimization) is to put meta tags in your blog. Meta tags which consist of description meta tag and keyword meta tag are placed inside the head section of your blog template HTML. In description meta tag you put a description of your blog, telling what your blog is about. In keyword meta tag you put in words relevant to your blog contents.
There is a problem though, in Blogger (blogspot) the meta tags will not only reside in your homepage but also in every post pages that you create (when you post an article). Let say you posted 30 articles so far, then all 30 a pages+1 home page will have similar meta tags!. This is not good, for two reasons:
- Google uses your meta description (if you have one installed) as content snippet in Google search result listing. Imagine you have same snippet for all your pages!
- Google regard it as duplicate contents (duplicate meta descriptions).
- Create one set of meta tags for each page. This can be done, but man that’s a lot of meta taggin’ to be done!
- Limit meta description tag for homepage only. I choose this way, the
lazyeasy way! (When there is no meta description exists in a post page, Google will use an excerpt from the post content as search result content snippet).
- First go to Dashboard>Layout>Edit Template and find this line in your blog template HTML codes:
1
<
b:include
data
=
'blog'
name
=
'all-head-content'
/>
- Then put the meta tags code immediately below it. The final result should be as shown below. What this code does is put keyword meta tag in all pages and limit description meta tag to only your homepage.
1
<
b:include
data
=
'blog'
name
=
'all-head-content'
/>
2
<
meta
content
=
'PUT KEYWORDS HERE SEPARATED BY COMMAS'
name
=
'keywords'
/>
3
<
b:if
cond
=
'data:blog.pageType == "index"'
>
4
<
meta
content
=
'PUT BLOG DESCRIPTION HERE'
name
=
'description'
/>
5
b:if
>
Labels: Seo
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home