How To Make Blog Title Appear After Blog Post Title In Facebook?


Whenever I share my blog post on Facebook my post title appear after blog title. so how to fix it?

Looking for helping hand! please reply if anyone know about that :slight_smile:


@shoutersclub, First search the

<title><data:blog.pageTitle/></title>    in Template HML  and then Replace it with following code

  <b:if cond='data:blog.pageType == "item"'>
 <title><data:blog.pageName/> | <data:blog.title/></title>
 <title><data:blog.pageTitle/></title> </b:if>

May be, It work for you.


Dear @GKVish, I think, facebook have enabled this. You can check it by pasting a mbt url, you will find that MBT post’s title will appear after My Blogger Tricks:

That’s not our template issue


@Shivansh , May Be. Thanks For Letting me Know.


@Shivansh Even I am confused! Can you share a screenshot of what you mean because Facebook is showing the post title only and does not add the blog title after it?

@GKVish your code for swaping the titles is correct but I would like to recommend the following one instead

@shoutersclub Kindly search for the <title> tag code inside your template located just under <head> Replace the entire title tag code with the following one

		<b:if cond='data:blog.pageType == &quot;index&quot;'>
			<b:if cond='data:blog.pageType != &quot;error_page&quot;'>
				<data:blog.pageName/> - <data:blog.title/>
				404 | <data:blog.title/> 

The above code will show your Blog Title on homepage but It will show the blog Title at the end of your post title tag in Post pages. This will produce the effect you want on both social media networks and also SERPs


Thank you so much @Mohammad sir, @Shivansh, @GKVish :smile: