Confirmed Meta information not on index page

beerForo

Well-known member
Affected version
2.3
When using whats-new as the index page (homepage), search results (google) do not have meta information such as your site description. Upon viewing the source code it is not there. Is this a bug since XF allows us to define our index, as, it should show the site name and description instead of the page name with zero description?

1737922354609.webp
 
Last edited:
Best practice to add meta info for seo to What's New page? Any help appreciated, this is my home page and in google it has no description.

I just looked and the google result, where the site deception usually is, is part of a post from someone's introduction post. Not good.
 
Last edited:
You can edit the corresponding templates to add a description in the meantime:
HTML:
<xf:macro id="metadata_macros::metadata"
    arg-description="{$xf.options.boardDescription}" />

The featured page being marked noindex is an unfortunate oversight, but you can replace the top line of whats_new_wrapper with:
HTML:
<xf:if is="!in_array($pageSelected, ['overview', 'featured'])">
 
Back
Top Bottom