Not Solved [General] Does MyBB offer also JSON-LD support ? SEO support
#1
Not Solved
Hi, 

does MyBB offer also support for JSON-LD microdata ? 

Is it possible for example to generate separate JSON-LD script for category and subcategories ? If yes, how to do it ?


Thanks in advance for any support.


Cheers
Dlugasny
Reply
#2
Not Solved
I don't think so, not in my knowledge. There is a mostly used google seo plugin and apart from that you need to make changes even for following schema.org structure.
Reply
#3
Not Solved
Add this to headerinclude-template

<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Organization",
"@id": "domain/forumURL/#organization",
"url" : "domain/forumURL",
"address": {
"@type": "PostalAddress",
"addressLocality": "location",
"postalCode": "12345",
"streetAddress": "streetName"
},
"email": "[email protected]",
"funder": "funderName",
"name": "organizationName",
"telephone": "(+00)123456789",
"logo": {
"@type": "ImageObject",
"url": "domain/forumURL/logo.png"
},
"contactPoint" : [
{ "@type" : "ContactPoint",
"telephone" : "+1234567890",
"contactType" : "customer service",
"areaServed" : "IN"
}
]
}
</script>

change as per your domain and your details

add this to postbit and postbit_clasic template

<script type="application/ld+json">
{
"@id": "{$post['postlink']}#pid{$post['pid']}",
"@context": "http://schema.org/",
"@type": "NewsArticle",
"headline": "{$thread['subject']}",
"description": "{$thread['postpreview']}",
"datePublished": "{$post['postdate']}",
"image": {
"@type": "ImageObject",
"height": "22",
"width": "22",
"url": "domain/forumURL/logo.png"
},
"author": "{$thread['username']}",
"publisher": {
"@id": "domain/forumURL/#organization"
},
"articleBody": ""
}
</script>
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)