Blogger, Blogger Hack, Blogger Tutorials

Designing Blogger Template : SEO Optimized Title Tag

2 217

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

  • How to set up navigation menus

    Navigation is certainly a very important part in web design, especially if we keep in mind that the navigation of a page is there to orient and guide the user. Navigation is a key element of any website. With the help of navigation menu, the user gets from section to section, and to different contents….

  • 20+ Cool Terminal Commands to have fun with Ubuntu

    Users of command line interface always look out for something new to work with which makes them get excited. You might have seen some ASCII arts being used in info files of software and wondering how they did it. Well here we have added a collection of commands with which you can enjoy and have…

  • Mastering the Art of Timelapse Photography: Tips and Techniques

    Timelapse photography is a technique that involves capturing a series of photos over a period of time and then combining them into a video sequence to create the illusion of time passing quickly. Mastering this art can add a unique dimension to your photography skills. The importance of mastering timelapse photography lies in the fact…

  • How to Remove Author Name From Blogger Posts

    If you are running multiple blogs and for some reason you don’t want to show your name in author field, Then this Blogger hack is for you. Though the topic looks very simple , but most don’t know how do this. So in this tutorial , I will explain how to remove the author name…

  • 10 Expert Newborn Bottle Feeding Tips for Happy and Healthy Babies

    Introducing bottle feeding to your newborn is a crucial step in ensuring their health and well-being. As parents, it’s important to be aware of the best practices for bottle feeding to ensure that your baby is happy and healthy. Here are 10 expert tips to help guide you through the process. Importance of Bottle Feeding…