Blogger, Blogger Hack, Blogger Tutorials

Designing Blogger Template : SEO Optimized Title Tag

2 215

I have seen so many bloggers have been asking me for tutorials to design Blogger template. As you all know after i gave Techieblogger.com to my another friend, I have created this new blog for providing blogger and web design tips. I have decided to post the whole process required for designing a seo optimized blogger template. You would have noticed that many designers have been charging you to convert a wordpress template to blogger one or even to design a unique blogger template. So I have decided to explain you all the steps needed to design your own blogger template.

General Layout of a Blogger template

According to me, a blogger template can be divided into 6 parts :

  • Header
  • Navigation Menu
  • Main Container
  • Post
  • Sidebar
  • Footer

 

I will explain you each and every part of the blogger in detail in the forthcoming articles. For an example, I have taken a screen shot of my blog itself.

Blogger Template Layout

Blogger Header Section

In this section, we can see how to code the header section of the blogger template. The header section starts with <head> tag.
Now Let me explain you the elements which need to be present in the header and will also explain you how to make it seo optimized as well.

General Code present under the header section is :

<!doctype html>
<html>
<head>
<title>Hello world!</title>
</head>

Now in this I am going to concentrate mainly on the <title> tag. In the future posts, i will explain much more on the header tags.

The <title> tag defines the title of the document. The title element is required in all HTML/XHTML documents. The text inside <title> is not displayed in the document. However, most browsers will display the title at the top of the window.

The title element:

  • defines a title in the browser toolbar
  • provides a title for the page when it is added to favorites
  • displays a title for the page in search-engine results

The default code present in the Blogger Template is :

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

The above code displays your default page Title. Now let’s see how to play with the above code.

Customize the Page title in Post pages

If you want to customize the above code and make it seo compatible, then follow the below steps.

  • Login to your Blogger account
  • Go to Design tab under your Blog
  • Navigate to EDIT HTML page

Now replace the above code with this one :

<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>

The above code will help you to show custom titles under post pages. By default, only the post titles will be shown under any post page. But with the above code, you can add few keywords of your blog along with the post titles. Just edit this code <data:blog.title/> to show the important keywords of your blog in page titles alone.

In reverse, if you want to show a custom title in home page and the default Page title in all other posts, just like me, then you need to add the following code instead of the first one.

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<title> <data:blog.pageName/> | <data:blog.title/> </title>
<b:else/>
<title>Your Important Keywords First | <data:blog.title/> </title>
</b:if>

Now you need to to place your important keywords of your blog first, then your blog title.

 

SEO blogger Title in Search Engines

Show Custom Titles in Specific post pages

It’s an easy trick which allows you to show custom Page Title under specific post pages. This trick can help you to put important keywords of each post under the specific post pages.

<b:if cond='data:blog.url == &quot;Post URL&quot;'>

<title> Custom Post Title!! </title>

</b:if>

With the above code you can change the Page Title of any specific post. This can be especially useful for providing custom title to contact us, about us pages.

Any suggestions?

I hope that the above trick would be useful for you to customize the page title. In the future posts i will explain more about adding seo optimized META tags and adding specific Description to specific Post pages.

About the author / 

Mohamed Rias

I'm a programmer, photographer, and proud parent. With a passion for coding and a love of capturing life's moments through my camera lens, I'm always on the lookout for new challenges and opportunities to grow. As a dedicated parent, I understand the importance of balancing work and family, and I strive to be the best version of myself in all aspects of my life.

Related Posts

2 Comments

  1. Olusegun July 11, 2012 at 1:11 am - 

    This is a nice tutorial. Bookmark & share

Popular

Editor’s Pick

  • 30+ Most Downloaded Google Chrome Extensions

    Google Chrome being the fastest browser in terms of performance still it’s not preferred by most. Especially Mozilla firefox users won’t ditch firefox so soon just because Google chrome is faster. Being a firefox user,one of the reasons I didn’t liked Chrome is because it doesn’t had plug-ins support before. But now after one year…

  • 30+ Stunning Gnome Desktop Themes for Linux users

    Most of you think that Microsoft windows and Mac OS are the only two famous operating systems. But now Ubuntu a linux based operating system is also getting popular. I recently saw Ubuntu in one of my friends PC and I was amazed to see its performance. Though it’s difficult a bit , but once…

  • Exploring the Wonders of Gigapixel Photography: How to Achieve Stunning Detail and Clarity in Your Images

    Gigapixel photography is a technique that captures images with incredibly high resolution and detail, allowing for stunningly clear and vibrant pictures that are perfect for printing or displaying on large screens. In this article, we’ll explore some tips and techniques you can use to achieve amazing results with gigapixel photography. Definition of gigapixel photography Gigapixel…

  • 45+ Brilliant Bokeh Photography Inspirations and Tips

    It’s All about Blurring Your Image!! Taking its origin from Japanese term” Boke” , it’s a one-of-a-kind effect you would love to add in your image. No, I am not talking about something unpattern absurd effect that makes your lovely image turn into a gloomy one. But I am telling something more recognizable and sophisticated,…