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

Remove Index Title From All Pages On Your Forum

How to remove the the index title from the title element

  1. M@rc

    M@rc Well-Known Member

    Title : Remove Index Title From All Pages On Your Forum

    I've wanted to know this from the start, since I've purchased an XenForo license. I never played around with the templates those days. I was a custom to vB's templates, lol.

    Well, basically, this tutorial helps you remove the forum's index title, from all of the forums that you created for your community. ( screen shot below )

    Example :

    [​IMG]

    Now, let's get down to business, shall we? You're required to do a simple modification in your templates.

    Step by Step :

    • Log into your admin control panel
    • Appearance => Templates => PAGE_CONTAINER
    Search and find :

    Code:
    <title><xen:if is="{$title}">{xen:raw $title} | {$xenOptions.boardTitle}<xen:else />{$xenOptions.boardTitle}</xen:if></title>

    Remove :

    Code:
     | {$xenOptions.boardTitle}
    Then push the save button.
     
  2. Veer

    Veer Well-Known Member

    What are benefits behind this?
     
  3. Brogan

    Brogan XenForo Moderator Staff Member

    It's just an aesthetic change.

    It only affects how the page title is displayed in the browser tab.
     
  4. M@rc

    M@rc Well-Known Member

    Also, some people don't want the main keywords used from the main forum index's title, to appear on other web pages of the forum.

    Search engines indexes the title, so it'll include the forum's index page keywords on every page of your XenForo forum :

    [​IMG]
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    That's a fair point.

    Personally I'd rather my site name appeared in search results though.
    Every little helps, as the saying goes ;)
     
  6. M@rc

    M@rc Well-Known Member

    Yeah, it's good if you used a "site name" , but if you're just using lots of keywords, then it's not a good idea...
     
  7. clawsonr

    clawsonr Member

  8. Brandon Sheley

    Brandon Sheley Well-Known Member

    this is for the title tag

    Thank you to the OP, this is something I've wanted to change as well because of the longtail search benefits.
    I had actually removed this already, but forgot to once I updated the style. :oops:
     
  9. clawsonr

    clawsonr Member

    Where would I find the information to take that out of my url, so my homepage url doesnt display the index.php tail?

    Thanks
     
  10. Brogan

    Brogan XenForo Moderator Staff Member

  11. clawsonr

    clawsonr Member

    Exactly what I needed sir!

    Thank you for this!
     
  12. M@rc

    M@rc Well-Known Member

    M@rc submitted a new resource:

    Remove Index Title From All Pages On Your Forum (version 1.0) - How to remove the the index title from the title element

    Read more about this resource...
     
  13. AzzidReign

    AzzidReign Well-Known Member

    I did something similar to this when I was running vb + vbseo. But I actually had the forum title that it was in. This way, Google knows better as to what this topic is fully about. Anyway to add the section title to the end of the title of the thread?
     

Share This Page