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

XF 1.4 Remove (or change position) of thread prefix from TITLE tag

Discussion in 'Styling and Customization Questions' started by OperaManiac, Nov 13, 2014.

  1. OperaManiac

    OperaManiac Well-Known Member

    Right now it comes before the thread title which is kind of annoying and not that great for SEO. Any easy solution to remove it from the title tag? Or move its position to later part of the title? Thanks.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    That is controlled in the thread_view template (for example) by these lines of code:
    <xen:title>{xen:helper threadPrefix, $thread, escaped}{$thread.title}{xen:helper pagenumber, $page}</xen:title>
    <xen:h1>{xen:helper threadPrefix, $thread}{$thread.title}</xen:h1>
    The helper function prepends the prefix text and a - so you can just remove the {xen:helper threadPrefix, $thread, escaped}.
    OperaManiac likes this.
  3. OperaManiac

    OperaManiac Well-Known Member

    Thanks! Worked.

Share This Page