Remove blog name from Title of Blogger blog - [SOLVED]

Published

Blogger is the easiest blogging platform to customize ,if you understand the right way.
In this article,I will tell you "How to remove blog name from Title". and how to optimize it for better SEO.

How to remove blog name from title of blogger blog?

Lets see how default blogger templates generating Title for blog post page.
At the time of blog creation, Blogger will ask you to write a title for your blog.
Then, after you create a post and publish it with blogger blog, you will have to type in your post's title.
Now, as default, blogger will generate a title for your blogpost, as below.
BlogTitle:Title of your great blog post.
When you look for its code in template, you can see code as below.
<data:blog.pagetitle/>
Lets see how to customize it and remove blog name from title.
Here comes help of <data:blog.pagetitle/>
<data:blog.pagetitle/> generates > YourblogTitle:Your Post title
<data:blog.pagetitle/> generates > Your Post title.
Now, lets make it looking good, with below code.
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<title><data:blog.pageName/> | <data:blog.title/></title>  <b:else/>
<title><data:blog.pageTitle/></title> </b:if>
What we do here is replacing Blogger blog title with Blog Title only, and replacing Blogger blog post title with post name followed by blog name.

Helps?? Leave your thoughts in comment section!
Have a wonderful day!

Comments

Post a Comment