Page Title vs Page Name in Blogger

Monday, August 4, 2008

In this post, I will explain the difference between the Page Title tag and the Page Name tag with specific reference to Blogger.

What is a Page Title or Page Name?
In simple terms, the page title or page name informs the reader what that specific page is about. The page title or page name appears in the browser title bar when you open a web page.

Page Title in Blogger
The Page Title in Blogger blogs refer to the post title with the blog title prefixed to it. For example, if my post title is "Related Posts Widget for Blogger", then the browser will display "Assess My Blog: Related Posts Widget for Blogger". While initially I did not put much emphasis or importance to this feature, I had to change my approach once I notice the search engine results.

Disadvantages of Page Title Tag in Blogger
The search engine would always display my blog name first, followed by the post title. Sometimes this is not good. You want your reader to see the title first so that he/ she will be attracted to click on it. Remember that you have only a few seconds to get his attention as he/ she is looking at about 10 results at a time. If he has searched for "Recent Posts Widget for Blogger", then he would like to see those words in the search result, rather than something like "Assess My Blog: Recent Posts Widget for Blogger".

How to display the Page Name in Blogger?
Until recently, Blogger did not have a direct solution to this. But, recently, they have introduced a new tag called "blog.pageName" in addition to the original "blog.pageTitle". If you use the Page Name tag, it will just display the post title on the browser title bar and your search engine result, without the blog title prefix.

Before you start changing the code, make sure you have a backup copy of your template. Once you have done that, search for the following statement in your HTML code:

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

and replace it with the following code:

<b:if cond='data:blog.url == data:blog.homepageUrl'>
<title><data:blog.pageTitle/></title>
<b:else/>
<title><data:blog.pageName/></title>
</b:if>

Now, you will notice that the browser title bar displays the blog title for your home page and the individual post title when you open the item page. If you still want to include your blog title, I suggest appending it rather than the default prefix. You can do this with a small modification to the code as shown below:

<b:if cond='data:blog.url == data:blog.homepageUrl'>
<title><data:blog.pageTitle/></title>
<b:else/>
<title><data:blog.pageName/>|My Blog Title</title>
</b:if>

Remember to replace the text in red colour (My Blog Title) with your own blog title. For my blog, I would do the following:

<b:if cond='data:blog.url == data:blog.homepageUrl'>
<title><data:blog.pageTitle/></title>
<b:else/>
<title><data:blog.pageName/>|Assess My Blog</title>
</b:if>
I hope that helps in clarifying the difference between the page name tag and the page title tag in Blogger. If you have any queries, you are welcome to leave a comment below. Please subscribe to my feed if you like this post

20 comments:

Hemant Kumar August 7, 2008 at 2:40 AM  

I was trying to do exactly the same with my blog http://lifemoviefun.blogspot.com but all solutions were too complex. Your advice is simple and direct to the point. I love it.. I think I will keep visiting it for more tips.

Thanks!!!

Manick August 7, 2008 at 6:40 PM  

Hi Hemant,

Thanks for your comments. I am glad to know that you found the post useful. You are welcome to visit my blog for more tips. If you need any clarification, please leave a message and I would help if I can. Thanks once again.

Free Money Maker August 10, 2008 at 11:53 AM  

Hi manick very good post 4 blogger.How was ur holiday ?

Manick August 10, 2008 at 9:15 PM  

Hi Manas Kabiraj,

Thanks for your comments here. Yes, I had a wonderful time. About three weeks of fun, that helped me to relax and enjoy.

Hope you are doing fine. Keep in touch.

JPetals August 15, 2008 at 11:49 PM  

Your google ranking is showing up grey, so I am going to remove my link for your blog. My site is Jpetals. Please remove mine from yours as I am gray also.

Jodie

Manick August 17, 2008 at 8:13 PM  

Hi Jpetals,

It is a pity that you decided to remove a link to my blog. Anyway, thanks for the linking to my blog so far. As requested, I have removed your link too. Thanks.

Free Money Maker September 11, 2008 at 10:51 PM  

Hi how are you? Hope things are going well.Anyway I think you are quite busy with your new blog.Again I am here with some problem to solve.How to make a blog header with similar to my blog name.I mean blog header may be a pics of blog name,I dont know actually what it should be.Anyway if you have any idea then share with me.
Secondly when we put a link to other sites in any post or any where in the blog,it just open in the same page .Is it possible that all the link could open in another window after clicking on it?

Manick September 12, 2008 at 5:52 AM  

Hi Free Money Maker,

I am fine. Hope you are doing well. Thanks for visiting my blog again.

(1) You can create a graphics with your blog name. Then go to layout > page elements and then click on the edit link just below your header element. You will see a section titled "Image". You just provide the location of your graphics file, may be from your computer or from any location on the web. Then click "save". That's it.

(2) If you want your link to open in a new window, include "target=_blank" in your hyperlink. For example, <a href="http://myblog.blogspot.com" target=_blank> When you click on the link, a new window will open. To do this, you have to edit your post in the "edit html" window.

Hope that clarifies your doubts. Thanks.

PakciQue October 7, 2008 at 12:51 AM  

Wow...cool man..tq very much..

Manick October 7, 2008 at 5:52 AM  

Hi PakciQue,

Thanks.

Unknown October 7, 2008 at 9:12 AM  

This may not be on topic of this post, but I was wondering if you had a "how-to" on creating more pages in blogger.

Thanks!

Manick October 7, 2008 at 7:06 PM  

Hi CJ,

Every post on your blog is considered as a page. So, if you write a new post, you are creating another page. I am not clear what exactly you want to know. Thanks.

Unknown October 7, 2008 at 7:08 PM  

Manick- I want to know how to make tabs for my new pages like you have on your blog. For instance you have a Home tab, a Blogging Tips tag, etc. I would like to know how to do that. Thanks.

Manick October 8, 2008 at 1:25 AM  

Hi CJ,

I do not have a post to explain this. But you can see a detailed post here: Tips for new bloggers. Thanks.

Anonymous December 14, 2008 at 1:32 AM  

i've been meaning to do this for SEO purposes. glad you blogged about this. this is an excellent guide! ^_^

Manick December 14, 2008 at 6:57 AM  

Hi Techniqueal,

Thanks. I appreciate your regular visits and comments. They keep me going.

Anonymous December 15, 2008 at 7:44 AM  

Thanks for your post. I just updated according to your instructions. Thanks again. :)

Manick December 16, 2008 at 9:08 PM  

Great Mgluaye! Hope it helps. Thanks.

SlimJim March 31, 2009 at 12:10 AM  

Thanks for the post, I already had this running before I found your blog, thanks just the same. :)

I've been playing around with a couple of my blogs "Titles" & Google, I found that I can use keywords & they show up great in Google, better than meta tags.

Then I got to looking at big sites like Amazon, & Ebay, they both use keywords on their homepage "Tiles", clever. :)

All I know is it does work.

I have 1 blog that I hard code the keywords into the "Title", works great for Google Search, ranking.

Manick March 31, 2009 at 5:36 PM  

Hi SlimJim,

Thanks for your valuable insight. Yes, blog URL and blog title are two important components of SEO. If you could choose your URL with your main keyword and blog title with main keywords and secondary keywords, you could easily move up the ladder in Google's SERP. I am glad to know that you have successfully done it.

Post a Comment

  © Free Blogger Templates Columnus by Ourblogtemplates.com 2008

Back to TOP