[JoyFreak] Change forum_list title and H1 only

Admin

AdminAdmin is verified member.

Well-Known Member
Staff member
Administrator
Head over to your Admin CP > Setup > Options > Basic Options > Change your board title to the name of your forum only. For example, JoyFreak is my board name. This will be used consistently throughout the forums and you want to keep the consistency of your forum name throughout all pages. If the forum_list is the landing page of your forum, then this guide will be useful to you and can help improve your SEO if done correctly. You can add a keyword(s) to your title and h1 to help increase SEO for your homepage and this guide will walk you through on how to do that.

Open template: PAGE_CONTAINER

Find:
Code:
<title><xf:title formatter="%s | %s" fallback="{$xf.options.boardTitle}" page="{$pageNumber}" /></title>

Add above:
Code:
<xf:if is="$template == 'forum_list'">
<title><xf:title page="{$pageNumber}" /></title>
<xf:else />

Open template: forum_list

Replace:
Code:
<xf:if is="$xf.options.forumsDefaultPage != 'forums' OR ($xf.options.indexRoute AND $xf.options.indexRoute != 'forums/')">
<xf:title>{{ phrase('forum_list') }}</xf:title>
<xf:else />
<xf:h1>{$xf.options.boardTitle}</xf:h1>
</xf:if>

With:
Code:
<xf:title>{{ phrase('phrase_title') }}</xf:title>
<xf:h1>{{ phrase('phrase_h1') }}</xf:h1>

Make sure to add two phrases by heading to Admin CP > Appearance > Phrases > Add Phrase
There, you'll be able to add the above two phrases.

Advice: Use a keyword(s) that best describes your forum and use them in both phrases. Take mine for example
 

Facebook Comments

Similar threads

Admin
Replies
0
Views
930
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
755
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
1K
AdminAdmin is verified member.
Admin
Admin
Replies
1
Views
2K
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
1K
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
2K
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
1K
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
685
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
822
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
976
AdminAdmin is verified member.
Admin
Back
Top