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

  • Hide Blogger Navigation Bar – CSS Hack

    As we all know in blogger, above header there is navbar or navigation bar . Most of want to hide the navigation bar in blogger , but we don’t know how to do that. Never wonder here is a simple trick to hide the navigation bar in blogger . Follow these easy steps to paste…

  • The Complete Checklist of React Best Practices for Front-end Developers

    React is a popular JavaScript library used for building user interfaces. It was developed by Facebook and is now maintained by both Facebook and a community of developers. React allows developers to build reusable UI components that can be easily composed to create complex user interfaces. Using best practices in React development is essential for…

  • Mastering Webpack Module Federation: A Comprehensive Guide for Modern Application Development

    Introduction Welcome to this comprehensive guide on mastering Webpack Module Federation for modern application development. In this guide, we’ll dive into the world of Webpack and explore its Module Federation feature in-depth. Definition of Webpack Module Federation Webpack Module Federation is a feature of the Webpack module bundler that allows developers to share code and…

  • Know the Different Lenses In Photography And Their Influence.

    Depending on what lens you are using you can add in creative control, different perspective, and technical improvements to your photographs. Choosing the right lens can lead you to have more control over your final image that you want to frame or already framed in, in your mind. Influence of lens can lead to optical…

  • 10 Ways ChatGPT Can Boost Your Enterprise: From Customer Service to Personalized Learning

    In today’s fast-paced business world, companies are constantly looking for innovative ways to improve efficiency, productivity, and customer satisfaction. One of the most promising tools for achieving these goals is ChatGPT, a powerful language model that can be integrated into a wide range of enterprise applications. From customer service to marketing, HR, and beyond, ChatGPT…