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.

bring-post-title-before-blog-name-blogger

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

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

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.pageTitle/></title>
<b:else/>
<title><data:blog.pageName/> | <data:blog.title/></title>
</b:if>

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.

Rehmat

View all Posts

Rehmat is a passionate blogger from Gilgit Baltistan, Pakistan. Currently, he is studying Plant Sciences at Karakoram International University Gilgit. Rehmat runs this blog since August 2012. If you need any help in blogging or have gotten any other questions, you can reach him here.

35 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 /
  2. ok thanks

    Vijay Prabhu /
  3. thaks for the share

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

    param tejani /
    • 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.
    Thanks

    Amanda Woods /
    • 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 (yourblog.com) 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 /
  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.
    thanx.
    www.healthshelftips.blogspot.com

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

    Ganesamoorthi M /
  9. Thanks man

    http://lacasamiami.blogspot.com/

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

    Raheel Haider /
    • 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 /
  12. There is no code to copy

    Asif /
    • I’m sorry, the code has disappeared due to Blogger to WordPress move. I’ll fix it soon

      Rehmat / (in reply to Asif)
  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 /
    • 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 /
  15. I did as you mentioned,,
    But plz can you tell me that what time it will take for search engines..

    navi /
    • 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)
  16. very helpful – thank you!

    bright and beautiful /
  17. still there is a error in code
    remove this
    because most of blogger templates already have this

    desiports.tk /
    • Yes, all modern templates have already this code in them. It is for those where the code is missing..

      Rehmat / (in reply to desiports.tk)
  18. Thanks mate very helpful

    Muneeb /
  19. thanks
    you are grate
    now it looks well enough
    www.mysofttech2013.blogspot.com

    Abdul Basit /
  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: http://shozob.blogspot.com.
    Thanks for tips.

    Shozob /

Comments are closed.