How to Remove Homepage Title Appear After Post Title


#1

I don’t want to show my homepage title appear after post title in search result like MBT and Blogger Guider. Below is my Title meta

><title>
> <b:if cond='data:blog.pageType == &quot;index&quot;'>
> <data:blog.pageTitle/>
> <b:else/>
> <b:if cond='data:blog.pageType != &quot;error_page&quot;'>
> <data:blog.pageName/> : <data:blog.pageTitle/>
> <b:else/>
> Page Not Found : <data:blog.title/>
> </b:if>
> </b:if>
> </title>

Should i remove
: <data:blog.pageTitle/>
this line in above meta tag?

Please friends guide me.:worried:


#2

yes remove that code.

after removing that code your post title only shows.


#3

@Brijesh

Here is Complete code to do this.

<title>
<b:if cond='data:blog.pageType == &quot;index&quot;'>
<data:blog.pageTitle/>
<b:else/>
<b:if cond='data:blog.pageType != &quot;error_page&quot;'>
<data:blog.pageName/> 
<b:else/>
Page Not Found : <data:blog.title/> 
</b:if>
</b:if>
</title> 

Thanks,

Robin Singh


#5

bro @syncboost i followed the above steps & removed data:blog.title/> but it only showing blog name and blog logo instead of Post name and post image

Here is my full code

<title><data:blog.pageTitle/></title>
<b:else/>
<b:if cond='data:blog.pageType != &quot;error_page&quot;'>
 <title> <data:blog.pageName/> - <data:blog.title/></title>
</b:if></b:if>
<b:if cond='data:blog.pageType == &quot;error_page&quot;'> <title> Page Not Found - <data:blog.title/></title> </b:if>

Please help me. thanks in advance. waiting for your reply :slight_smile: