• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 how can i remove "- forums" from threads indexed by google

jamalfree

Active member
#1
hello
i remove title board from thread view; but google index my threads like this

thread title - forums

how can i remove - forums i guess this come from breadcrumb

i use this code in PAGE_CONTAINER

PHP:
<xen:if is="{$contentTemplate} != 'thread_view'">
<title><xen:if is="{$title}">{xen:raw $title} | {$xenOptions.boardTitle}<xen:else />{$xenOptions.boardTitle}</xen:if></title>
<xen:else />
<title><xen:if is="{$title}">{xen:raw $title}<xen:else />{$xenOptions.boardTitle}</xen:if></title>
</xen:if>
 
Last edited:

Mike

XenForo developer
Staff member
#2
Google will occasionally pick its own value to show for the title (or vary what is actually set as the title). We had it happen here at one point.

Since I don't see the word "forums" in your titles, it seems like Google's own internal choice.
 

jamalfree

Active member
#3
thank you mike ..
format for title before change indexed by google like this
thread title | board title - forums
after applying change
thread title - forums
i want only
thread title
without board title or forums
i guess should i make another change to removes forums !!!