Ubuntu / Linux news and application reviews.

It's quite weird that even though Blogger is a part of Google, it's really poorly search engine optimized by default. There are quite a few things needed to be done so that one can compete with wordpress.

The first and most important thing is the posts titles. Google for instance, only looks at 80 characters in your blog's post title. So if the post title begins with the blog name and only then the post title, quite a few characters may be missed by google. Example of a bad post title for Google:

What's New on the WWW - Blogger (blogspot.com) SEO optimization

To fix this, we need to have the title first and blog name last, something like this:

Blogger (blogspot.com) SEO optimization - What's New on the WWW

That way we make sure most of the characters in our post title are seen by Google. Also, some other search engines use the meta description and kewords to find a webpage, so we need to have that set for the main page and also generated for every single post. Here is what you have to do:


1. Go to Blogger Dashboard > Layout > Edit HTML and click "Expand Widget Templates".
2. Find this:
<title><data:blog.pagetitle/></title>
3. Replace the above code with this:

<!-- seo title -->
<b:if cond='data:blog.pageType == "index"'>
<title><data:blog.title/> : Blog title</title>
<meta content='Blog description' name='Description'/>
<meta content='kewords, separated, by, commas ' name='Keywords'/>
<b:else/>
<b:if cond='data:blog.pageType == "archive"'>
<title><data:blog.title/> : Blog Title the same as above</title>
<meta content='Blog description the same as above' name='Description'/>
<meta content='keywords, the, same, as, above ' name='Keywords'/>
<b:else/>
<b:if cond='data:blog.pageType == "item"'><title><data:blog.pageName/> ~ <data:blog.title/></title>
<meta expr:content='data:blog.pageName' name='Description'/>
<meta expr:content='data:blog.pageName + data:blog.title +data:blog.pageTitle' name='Keywords'/>
<b:else/><title><data:blog.pageTitle/></title></b:if>
</b:if>
</b:if>
<!-- /seo title -->


Save settings and look at the title of one of your posts.

Here is how the post title will look after this:

blogger seo title

To be able to see the meta keywords and description, look at the page source.