藏經閣

一切有為法,如夢幻泡影,如露亦如電,應作如是觀。

The importance of <title> tag

The default setting of blogger for <title> HTML tag would be something like

Blogger name: Article name

However, with this kind of setting, it have lower probability for search engines to show your page at the top of the result list because what really matters is the article name instead of blogger name.

Therefore, I would like to show my page with <title> HTML tag in the following format:

Article name - Blogger name

In this case, the search engines would know the Article name is superior to Blogger name in the <title>, resulting in the PageRank of this page may have a higher value.

How to do?

1. Go to the page Design -> Edit HTML. Find the code like:

<title><data:blog.pageTitle/></title>

csie-tw.blogspot.com

2. Replace the code found in the step 1 by

<b:if cond='data:blog.pageType == "index"'>
<title><data:blog.title/></title>
<b:else/>
<title><data:blog.pageName/> - <data:blog.title/></title>
</b:if>

or replace code by the following, if you just want to show the Article name without Blogger name.

<b:if cond='data:blog.pageType == "index"'>
<title><data:blog.title/></title>
<b:else/>
<title><data:blog.pageName/></title>
</b:if>

如何在Blogger新增隨機文章

Blogger Hack - How to add a Random Post Gadget in Blogger)

 


0 意見

張貼留言