Rehmat Alam A blogger who has fallen in love with coding! Here at SupportiveHands.net, I share things that relate to coding, servers, E-marketing, and other related fields.

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

1 min read

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 Alam A blogger who has fallen in love with coding! Here at SupportiveHands.net, I share things that relate to coding, servers, E-marketing, and other related fields.

PHPMailer: Called Mail() without being connected cPanel/WHM

PHPMailer is the most trusted PHP class to send emails that provide a complete set of features to enable you to send emails the easy...
Rehmat Alam
1 min read

How to bulk delete posts by a user in…

vBulletin is the most powerful forum software out there but sometimes its complex (or I can say that the ugly) administration control panel makes...
Rehmat Alam
1 min read

How to Backup and Restore a Large MySQL Database

phpMyAdmin is the most familiar tool for database management on small and medium-sized websites and blogs. This free tool makes the task of database...
Rehmat Alam
1 min read

35 Replies to “How to Show/Display Post Title Before Blog Name in…”

  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

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

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

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

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

  3. 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 …

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

  4. 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!

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

    1. Hi Shozob,
      I checked your blog. It seems that tag is added twice in your blog’s template. Within head section, (between <head> and </head> add the code which I have provided above and remove any additional tags if they are there. If still the error doesn’t resolve, send me your template’s XML, I’ll fix it for you.

Leave a Reply

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