XF 2.1 I use xenforo for Real estate sales platform So How to make Google understand that.. ?

ahm340

Member
A sample of the search result in Google :
House / Villa for sale
4 days ago - for sale, 300 square meters, under construction, 450 semi-detached, two floors, 20th Street East corner extension ...
1 post (3) - 1 author (1)

How to make Google understand that the content of the Threads is real estate ads, not discussion topics
Also Content owner thread a real estate broker not author

I tried to delete this code and after a few days I repeated the search in Google, but still Google did not understand :notworthy:
Please do you have a solution ?
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "DiscussionForumPosting",
"@id": "{{ link('canonical:threads', $thread)|escape('json') }}",
"headline": "{$thread.title|escape('json')}",
"articleBody": "{$fpSnippet|escape('json')}",
"articleSection": "{$thread.Forum.Node.title|escape('json')}",
"author": {
"@type": "Person",
"name": "{{ ($thread.User ? $thread.User.username : $thread.username)|escape('json') }}"
},
"datePublished": "{{ date($thread.post_date, 'Y-m-d')|escape('json') }}",
"dateModified": "{{ date($thread.last_post_date, 'Y-m-d')|escape('json') }}",
"image": "{$image|escape('json')}",
"interactionStatistic": {
"@type": "InteractionCounter",
"interactionType": "https://schema.org/ReplyAction",
"userInteractionCount": {$thread.reply_count}
}
}
</script>
 
Last edited:
Google is only following what it is told, which is basically you are posting on a discussion forum platform. For the majority of Xenforo users that may be a good thing.

i’m not sure how successful it would be to edit the schema, but I wouldmaybe try changing post and author in phrases, see if that helps.
 
Back
Top Bottom