How to Show/Display Post Title Before Blog Name in Blogger

Titles of posts and pages play a significant role in SEO of your blog when they contain the keywords in them. Search engines display only first few words of post and page titles. By default, Blogger title is set to show blog name before post title which reduces the SEO of Blogger blogs. In some cases, where blog names are much lengthy, post and page titles are totally omitted in search results. But don’t worry, you can do a little modification in your Blogger blog’s template source to make your post and page titles appear before your blog title. You will need to modify the title attribution in your Blogger template’s HTML. You can do this in less than a minute. Follow the below steps to make it working for you.


How to Modify Title in Blogger Templates

1. First of all, login to your Blogger dashboard, select your blog and then scroll down to Template in left sidebar in your Blogger dashboard.

2. Click on Template and then download a backup of your template from right top Backup/Restore option. It will allow you to restore your template later if something goes wrong

3. After downloading the backup, now you are good to edit the HTML. Click on Edit HTML to edit the source code of your Blogger template.

4. In the HTML source, press Ctrl+F and search for <title>. You will see a code as shown below


5. Now replace it with the below provided code

<b:include data='blog' name='all-head-content'/>
<b:if cond='data:blog.pageType == &quot;index&quot;'>
<title><data:blog.pageName/> | <data:blog.title/></title>

6. Save your template. Your are all done!! Your post and page titles will appear before blog name and your blog is now better optimized for search engines.

If you feel any difficulty in editing your blog’s template, you can comment on this post. We will help you in solving your issues.


View all Posts

I'm Rehmat, from Gilgit Baltistan, Pakistan. If you are new to blogging and need some help in this field, then you can stay in touch with me via contact form, by leaving a comment on blog posts or by following me on my social profiles.

39 Comments on this post

  1. Rehmat the script is giving a error as below
    html Error parsing XML, line 31, column 6: The element type “head” must be terminated by the matching end-tag head

    Please advise

    Vijay Prabhu / Reply
  2. ok thanks

    Vijay Prabhu / Reply
  3. thaks for the share

    Mera Bulgah / Reply
  4. Hey friend you did alphabetic mistake. you write 5 as two time.

    param tejani / Reply
    • Hey Param, extremely thank you for mentioning the error. A bundle of more thanks for reading the post carefully :). Now I have corrected the mistake. Thank you again for pointing it out.

  5. Hi, Just wondering how long should it take before the changes happen when the stories are searched for.

    Amanda Woods / Reply
    • Hi Amanda, it depends how quickly the Google re-indexes your posts. New posts will get indexed as title first and blog name later. But if you want to make changes for existing posts quickly, go to Google Webmaster Tools, select your blog and fetch the main address ( of your blog and choose the option “all linked pages”. Google will re crawl your entire blog and will make the changes quickly. I hope it works.

  6. Enough Informative Article..!! Thanks..!!

    Yashodhan Walimbe / Reply
  7. i tried it rehmat and now all i well. thanx i have been trying this from different websits. your is the best and easy to understand.

    adil qazi / Reply
  8. Useful information brother..!!.
    Thanks for sharing..!!.

    Ganesamoorthi M / Reply
  9. Thanks man

    Lon Farron / Reply
  10. Rehmat, can you help me with my google images index problem, seems like google is not indexing my blog images quickly.

    Raheel Haider / Reply
    • Hi Raheel, it has been noticed that it takes longer for search engines to index images than text. If the images are getting indexed, then there is nothing to get worry about, but don’t forget to use alt text for images.

  11. the html codes not showing, Blankkkkk

    Shamim / Reply
  12. There is no code to copy

    Asif / Reply
  13. Worked like a charm. Thanks! One question. This is how the search result looks after the modification:

    ThriveLiving: Genetics have little influence over health, top stem cell …

    How to I switch out the colon for a vertical line:

    ThriveLiving | Genetics have little influence over health, top stem cell …

    Carolanne / Reply
    • Hi,
      The modification should result in Genetics have little influence over health, top stem cell researcher asserts | ThriveLiving
      Let me know if it hasn’t fixed.

  14. Actually, even better would be to have the blog title after the article title:

    Genetics have little influence over health, top stem cell researcher asserts | ThriveLiving

    Thanks for any help you can offer!

    Carolanne / Reply
  15. I did as you mentioned,,
    But plz can you tell me that what time it will take for search engines..

    navi / Reply
    • Hi navi,
      To make the changes for your old posts, fetch URL of your blog in Google Webmaster Tools and submit it to index with “All linked Pages” option. Otherwise it may take longer..

      Rehmat / (in reply to navi) Reply
  16. very helpful – thank you!

    bright and beautiful / Reply
  17. still there is a error in code
    remove this
    because most of blogger templates already have this / Reply
    • Yes, all modern templates have already this code in them. It is for those where the code is missing..

      Rehmat / (in reply to Reply
  18. Thanks mate very helpful

    Muneeb / Reply
  19. thanks
    you are grate
    now it looks well enough

    Abdul Basit / Reply
  20. I have changed my template in blogger and my page titles disappear and all i see is blog title so i need some suggestions.
    blog url:
    Thanks for tips.

    Shozob / Reply
  21. mera ek blog ha mera blog title google pe differnt show horaha ha jabke mene setting me se dura rakha hua pata nh kia masla hotaha ha ap plz help karen

    hasnain / Reply
    • Hello Hasnain, old posts ko fetch karen, re-index hony k bad title change hoga google me. Or let Google to re-index your content. It will take some time. For new posts, you don’t need to do any thing.

      Rehmat / (in reply to hasnain) Reply
  22. Wao worked!!! Thanks and God bless :)

    TeeWhy / Reply

Leave a Reply

Your email address will not be published. Required fields are marked *