Until recently, the title tags generated for each page of your Blogger blog would display the blog title first, then the name of your post.
This wasn't so good for SEO (search engine optimization) as this made keywords from your post titles appear after your blog title.
Luckily, Blogger have come up with a simple fix for this problem for those who use Layouts templates: the <data:blog.pageName/>
tag!
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
This new tag is already installed for new blogs (or if you change your existing template to one of Blogger's default ones).
However, if you have customized your template or uploaded a third party template, you will need to change the original <data:blog.pageTitle/>
to the new <data:blog.pageName/>
tag for this change to take effect.
But don't worry: this is REALLY easy! Here's what you have to do:
- Go to Layout>edit HTML in your Blogger dashboard.
- Search for this tag:
<data:blog.pageTitle/>
- Replace this tag with the following:
<b:if cond='data:blog.pageType == "index"'>
<title><data:blog.title/></title>
<b:else/>
<title><data:blog.pageName/></title>
</b:if> - Save your template! (See, this is an easy hack!)
Once you've changed this tag, you'll see that on post pages, the default [blog name] page title format for your post titles in the browser window will be replaced solely by your post title instead.
This will increase the chances of your posts being picked up in search engine results for keywords which appear in your post titles (and can ultimately help draw more targeted traffic to your blog.
I hope this little trick will be useful to you all! And for the Blogger team (if you're reading this): Thank you!
55 comments:
You are a star! Thanks heaps. Nice hack to help with SEO
www.bizeblogger.blogspot.com
This Hack is perfect. It was exactly what I was looking for. Wordpress does this automatically in the SEO plugin. I think this is better. It leaves of the blog title that normally trails the post title that wordpress does.
Thanks
I am already using this hack for sometimes now and it works fine. What I wanted to do further was to have title for my 'label' pages as well which unfortunately I failed to achieve. I wanted the label name to appear in the page title when viewing label or category pages. Shed some light on this one if its possible.
thanku thanku thanku :)
I have found a lot of information that i looking for, especially for SEO in Blogger
Thank you very much
i need to change the "title" to "pageTitle" to make it work. wonder why was that?
Thank you Amanda, It work fine
Thans for all Amanda and friends. I notice that i have to replace all Tittle Tag NOT only data:blog.pageTitle
thank u so much for this very nice hack!! :) take a look a my blog.. :) i'm also using the recent comment widget :) you are so nice!! :)
Thanks for this.
It doesn't quite work on my blog. When a page loads, instead of displaying the page title it displays the URL!
Amy idea why this is? I'm using blogger template Sand Piper.
Hi! I found the code between title and /title. Do I place your code between them or overwrite the whole thing?
Thanking you for all your help in the past.
Take Care,
Peter
Hi! Sorry! Fixed the problem after reading Julian Schoffel's comment! Yes, I am a knucklehead - regards Peter
thanks amanda. its work for me..
thank four your tips. i hope it work on my blog.
tipsandcara-ngeblog.blogspot.com
Hey thanks Amanda for this wonderful tip.
Did this on my blog and works great.
Cheers,
Salil
thanks man :) Good job !
Hi,
Found your great blog & implemented the code. Not sure if it's working eg. I searched under Google for "Sushi Birthday Cake" or "Guide To An Authentic Louis Vuitton Bag" but nothing was linked to my blog "Luxury Haven".
Amanda or any experts, could you kindly check what went wrong? I'm really new to blogging. Thks so much!]
Blackswan,
http://luxuryhaven.blogspot.com
Hi there. I added this to my blog and it works great except that this: title with the (greater than and less than signs) appears before my actual title. Does this happen to anyone else? If so, how did you fix it?
Thanks i could added this code in my website.
http://www.worldgamenews10.blogspot.com
thanks it is very helpful for me
http://latestsongsmoviesvideos.blogspot.com/2009/04/azmat-e-mustafa-part-2-of-2.html
Muhammad idrees
thanks.
thanks for nice post,very useful
Thanks for your suggestion, i have been put into my blog at , please check master of blogging . . .http://make-money-online-gede.blogspot.com/
Wow! This tip u gave is superb. Your truely the best!!!
Thanks
Can the code be modified so that it displays the post title followed by the blog title?
such a nice information
thanks amanda
I'll gr8ful t you
i dont understan, i used this script before but no change
great, thanks
i will take amanda,,
Thanks for your suggestion
nc post
thk u
Thanks for your updated info on Blogger
I am very happy to visit ur blog.
Visit my READ18 Buzz
Here is a trick that I am using:
http://911-need-code-help.blogspot.com/2009/05/change-titles-of-blogger-blog-for.html
It shows that you can combine blog.pageName along with blog.title to put both items in the html title tag resulting in something like this:
my post title | my blog title
The home page will simply display:
my blog title
Thx after applying this in my blog www.newhackerszone.tk My traffic increased rapidly...
Thanks for the suggestion, I have had same issue with template tag.
thanks alot
http://www.ilsis.org
Thank you for the explination I wanted to fix it the last 2 months ,now I think I can do.
Thank you so much
Google doesn't index the site after the change of the page title.
Regards From Corfu
hi amanda
you said that better for SEO ... so why you dno't use it?
thank you.
Good post....
thanks to admin
Hi!. when i first read the post, i found it's not quite usefull for me as i already got that blog.pageName, but after several months away from my blog, i found that new template don't have that blog.pageName now! is it coming from google itself? why would they go back and step back from things they've already tried to fixed? ..and now i wonder how many times before search engine recognize the hack and put my post title before my blog name? .. tq :)
find this tutorial useful...
made a bit bit modification to include blogname...
here's the link for the tutorial...
http://hcier16.blogspot.com/2009/07/change-titles-of-blogger-blog-for.html
Thanks its very nice
visit my website
http://www.pakddl.com
Google and other search engines update their index on regular basis. All post titles for my blog were updated in the search results gradually. It took about two months though.
I suggest that you stick with your revised title tags and wait patiently. Try pinging search engines and submitting updated sitemaps.
This was really helpful. It works well.
Nice work, been wondering how to do this, found you through digital point forums so i am very relieved. I liked the hack so much i have added a link to your post to direct others to here i how you dont mind. Adsense and SEO blog
Wicked, this was just what I was looking for. Does anyone know whether you can adjust the meta description for each individual post in Blogger like you can in Wordpress using the All In One Seo plugin?
Hi Amanda, great post.
does this work for blogger classic, too?
(i think it's time for me to research switching to the new blogger layouts.)
thanks!
Thank you very much for this information.
Great trick....im gonna apply it to my blog
http://lets-kickoff.blogspot.com/
Year and a half later and the tip works a treat. Thanks Julian ... clearly I am one of those knuckleheads too! As Julian says:
You need to replace the entire line, including the surrounding < title > < /title > tags, with the code Amanda gave above, otherwise they show up in your browser titlebar.
Terrific... but as minter said...
we need to replace entire line including the title opening and closing tags..
Thanx any way...
thks for the tips .... its very useful .... :)
i don't find the code data:blog.pageTitle in my template. What can i do to implement this hack ?
thnx for this hack....i have applied this to my
blog.. check my blog
http://sbagyo.blogspot.com
best for u amanda.
thanks! i finally will be able to do it!
Post a Comment