Not a bug DiscussionForumPosting

Affected version
2.1.9

STNN

Member
If you look at the source code of threads on this website, you will see that this information is included at the end of page

Code:
        <script type="application/ld+json">
        {
            "@context": "https://schema.org",
            "@type": "DiscussionForumPosting",
   ...
However, this for some reason doesn't appear even in stock fresh xenforo install or the demo that XF provides. Not sure what's up with that, i searched this code in templates and it appears in thread_view. It should show up but doesn't :unsure:

Not sure what the official site is doing that's different. This code is helpful in Google showing structured data. So seems like a bug.

EDIT: This can be deleted!. NOT A BUG. Apparently, it's Cloudflare stripping the schema info.
 
Last edited:

Jeremy P

XenForo developer
Staff member
You also need to ensure you have a metadata image configured in your style properties.
 
Top