XF 2.1 SEO issue with forum's titles

Salamanca

Active member
Hi there,

There's an issue related to SEO that I would like to fix, but I have not found a way, nor an addon for this.

I would like to have, for example, the forum title to be:

Speakers for recording, mixing, and mastering (the h1 tag and the title tag)

but on the Forum List, the title should be just "Speakers".

This is only an example. On actual use, we have many sub-forums that are displayed on a list, and making every one of them with SEO optimized title would be confusing and not user-friendly.

Does anyone know if this is possible to do?

Thanks!
Alex
 
Hi there,

There's an issue related to SEO that I would like to fix, but I have not found a way, nor an addon for this.

I would like to have, for example, the forum title to be:

Speakers for recording, mixing, and mastering (the h1 tag and the title tag)

but on the Forum List, the title should be just "Speakers".

This is only an example. On actual use, we have many sub-forums that are displayed on a list, and making every one of them with SEO optimized title would be confusing and not user-friendly.

Does anyone know if this is possible to do?

Thanks!
Alex
PAGE_CONTAINER search;

PHP:
<title><xf:title formatter="%s | %s" fallback="{$xf.options.boardTitle}" page="{$pageNumber}" /></title>
2020-11-01_03-55-37.png


replace;
PHP:
<title><xf:title formatter="%s"page="{$pageNumber}" /></title>
2020-11-01_03-56-29.png

I use it this way and I recommend it to you too.
 
Top Bottom