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

XF 2.0 <xf:title></xf:title>

Chris D

XenForo developer
Staff member
#2
For SEO purposes, every page should have a title and output a <h1> tag.

If you don’t want the <h1> tag to display you can add this:
HTML:
<xf:h1 hidden="true" />
 

Zuse

Active member
#3
Thank you!

I am all for SEO but my board title is long and to have that on every page is annoying. I am using a portal and wanted that page free of the long title. So using the code you provided, will keep it hidden but still work for SEO purposes?