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

Discussion in 'Troubleshooting and Problems' started by jamalfree, May 17, 2015.

  1. jamalfree

    jamalfree Active Member

    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: May 17, 2015
  2. Mike

    Mike XenForo Developer Staff Member

    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 likes this.
  3. jamalfree

    jamalfree Active Member

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

    Mike XenForo Developer Staff Member

    Since "forums" isn't in the title of your threads, it's not likely to be something you have direct control over.
     
    jamalfree likes this.

Share This Page