{"id":25508,"date":"2026-09-05T02:44:30","date_gmt":"2026-09-04T23:44:30","guid":{"rendered":"https:\/\/alienroad.com\/google-bilgi-bankasi\/discussion-forum-discussionforumposting-structured-data\/"},"modified":"2026-09-05T02:44:30","modified_gmt":"2026-09-04T23:44:30","slug":"discussion-forum-discussionforumposting-structured-data","status":"publish","type":"ar_kb","link":"https:\/\/alienroad.com\/google-bilgi-bankasi\/discussion-forum-discussionforumposting-structured-data\/","title":{"rendered":"Discussion forum (DiscussionForumPosting) structured data"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/alienroad.com\/wp-content\/uploads\/kb-gorsel\/g-62581aede851.png\" loading=\"lazy\" class=\"attempt-right\" alt=\"An illustration of the discussions and forums feature\"><\/p>\n<p>Discussion forum markup is designed for any forum-style site where people collectively share<br \/>\n  first-hand perspectives. When forum sites add this markup, Google Search can better identify online<br \/>\n  discussions across the web and make use of this markup in features such as<br \/>\n  <a href=\"https:\/\/blog.google\/products\/search\/google-search-discussions-forums-news\/\" class=\"external-link\">Discussions and Forums<\/a>.<\/p>\n<aside class=\"key-point\"><b>Does your forum follow a question and answer pattern?<\/b><br \/>\n  Use <a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/qa-qapage-structured-data\/\">Q&amp;A markup<\/a> instead.<br \/>\n<\/aside>\n<h2 id=\"using-with-forums\" tabindex=\"-1\">How to use <code>DiscussionForumPosting<\/code> within a forum<\/h2>\n<p>In general, we recommend nesting comments under the post they relate to.<br \/>\n   If the forum has its own threading structure, use a tree of comments to represent its structure:\n<\/p>\n<div><\/div>\n<p>If it&#8217;s more linear in nature (for example, an original post followed by a series of replies),<br \/>\n  nest them all under the original post as comments. Ideally, later pages of content in multi-page forums<br \/>\n  include the original post with the main page URL:\n<\/p>\n<div><\/div>\n<p>If the URL is primarily about a single post, use <a href=\"https:\/\/schema.org\/mainEntity\" class=\"external-link\"><code>mainEntity<\/code><\/a><br \/>\n  (or <a href=\"https:\/\/schema.org\/mainEntityOfPage\" class=\"external-link\"><code>mainEntityOfPage<\/code><\/a>) to identify the primary<br \/>\n  <code>DiscussionForumPosting<\/code>:\n<\/p>\n<div><\/div>\n<p>For web pages that have a list of posts (for example, on a profile, topic, or category page),<br \/>\n  it&#8217;s common that they don&#8217;t have all the information present on the same page and require the user<br \/>\n  to click to get the extra information (like replies). It&#8217;s up to you whether you choose to include<br \/>\n  only the information that is present on the page (and include the URL to the discussion-specific<br \/>\n  posting).\n<\/p>\n<p><strong>Don&#8217;t mark one post on the page as a main entity if it&#8217;s not a discussion page for the<br \/>\n  post<\/strong>. To show that pages are a related set of posts, it might be useful to attach them<br \/>\n  all to a<br \/>\n  <a href=\"https:\/\/schema.org\/Collection\" class=\"external-link\"><code>Collection<\/code><\/a><br \/>\n  ou <a href=\"https:\/\/schema.org\/ItemList\" class=\"external-link\"><code>ItemList<\/code><\/a> .\n<\/p>\n<h2 id=\"add-structured-data\" tabindex=\"-1\">\n    How to add structured data<br \/>\n  <\/h2>\n<p>\n    Structured data is a standardized format for providing information about a page and classifying the page<br \/>\n    content. If you&#8217;re new to structured data, you can learn more about<br \/>\n    <a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/structured-data-intro\/\">how structured data works<\/a>.\n    <\/p>\n<p>\n    Here&#8217;s an overview of how to build, test, and release structured data.<\/p>\n<ol>\n<li>Add the <a href=\"#structured-data-type-definitions\">required properties<\/a>. Based on the<br \/>\n      format you&#8217;re using, learn where to <a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/structured-data-intro\/#format-placement\">insert structured data on the page<\/a>.<\/p>\n<aside class=\"note\">\n      <b>Using a CMS?<\/b> It may be easier to use a plugin that&#8217;s integrated into your CMS.<br \/>\n      <br \/>\n      <b>Using JavaScript?<\/b> Learn how to<br \/>\n      <a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/generate-structured-data-with-javascript\/\">generate structured data with JavaScript<\/a>.<\/aside>\n<\/li>\n<li>Follow the <a href=\"#guidelines\">guidelines<\/a>.<\/li>\n<li>Validate your code using the<br \/>\n      <a href=\"https:\/\/search.google.com\/test\/rich-results\" class=\"external-link\">Rich Results Test<\/a><br \/>\n      and fix any critical errors. Consider also fixing any non-critical issues that may be flagged<br \/>\n      in the tool, as they can help improve the quality of your structured data (however, this isn&#8217;t necessary to be eligible for rich results). <\/li>\n<li>Deploy a few pages that include your structured data and use the <a href=\"https:\/\/support.google.com\/webmasters\/answer\/9012289\" class=\"external-link\">URL Inspection tool<\/a> to test how Google sees the page. Be sure that your page is<br \/>\n      accessible to Google and not blocked by a robots.txt file, the <code>noindex<\/code> tag, or<br \/>\n      login requirements. If the page looks okay, you can<br \/>\n      <a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/recrawl-request\/\" class=\"external-link\">ask Google to recrawl your URLs<\/a>.<\/p>\n<aside class=\"note\"><b>Note<\/b>: Allow time for re-crawling and re-indexing. Remember that it<br \/>\n      may take several days after publishing a page for Google to find and crawl it.<\/aside>\n<\/li>\n<li>To keep Google informed of future changes, we recommend that you<br \/>\n      <a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/build-submit-sitemap\/\" class=\"external-link\">submit a sitemap<\/a>. You can automate this with the<br \/>\n      <a href=\"https:\/\/developers.google.com\/webmaster-tools\/v1\/sitemaps\" class=\"external-link\">Search Console Sitemap API<\/a>.<\/li>\n<\/ol>\n<h2 id=\"json-ld example\" tabindex=\"-1\">Examples<\/h2>\n<p>The following markup example shows a non-threaded, linear forum page:<\/p>\n<section class=\"kd-tabbed-horz\">\n<article class=\"selected\">\n<header>JSON-LD<\/header>\n<form method=\"post\" target=\"_blank\" action=\"https:\/\/search.google.com\/test\/rich-results?utm_campaign=devsite&#038;utm_medium=jsonld&#038;utm_source=discussion-forum\"><input type=\"submit\" value=\"Try it out in the Rich Results Test\" \/><textarea name=\"code_snippet\" style=\"display:none\">&lt;html&gt;<br \/>\n  &lt;head&gt;<br \/>\n    &lt;title&gt;I went to the concert!&lt;\/title&gt;<br \/>\n    &lt;script type=&#8221;application\/ld+json&#8221;&gt;<br \/>\n    {<br \/>\n      &#8220;@context&#8221;: &#8220;https:\/\/schema.org&#8221;,<br \/>\n      &#8220;@type&#8221;: &#8220;DiscussionForumPosting&#8221;,<br \/>\n      &#8220;mainEntityOfPage&#8221;: &#8220;https:\/\/example.com\/post\/very-popular-thread&#8221;,<br \/>\n      &#8220;headline&#8221;: &#8220;I went to the concert!&#8221;,<br \/>\n      &#8220;text&#8221;: &#8220;Look at how cool this concert was!&#8221;,<br \/>\n      &#8220;video&#8221;: {<br \/>\n        &#8220;@type&#8221;: &#8220;VideoObject&#8221;,<br \/>\n        &#8220;contentUrl&#8221;: &#8220;https:\/\/example.com\/media\/super-cool-concert.mp4&#8221;,<br \/>\n        &#8220;name&#8221;: &#8220;Video of concert&#8221;,<br \/>\n        &#8220;uploadDate&#8221;: &#8220;2024-03-01T06:34:34+02:00&#8221;,<br \/>\n        &#8220;thumbnailUrl&#8221;: &#8220;https:\/\/example.com\/media\/super-cool-concert-snap.jpg&#8221;<br \/>\n      },<br \/>\n      &#8220;url&#8221;: &#8220;https:\/\/example.com\/post\/very-popular-thread&#8221;,<br \/>\n      &#8220;author&#8221;: {<br \/>\n        &#8220;@type&#8221;: &#8220;Person&#8221;,<br \/>\n        &#8220;name&#8221;: &#8220;Katie Pope&#8221;,<br \/>\n        &#8220;url&#8221;: &#8220;https:\/\/example.com\/user\/katie-pope&#8221;,<br \/>\n        &#8220;agentInteractionStatistic&#8221;: {<br \/>\n          &#8220;@type&#8221;: &#8220;InteractionCounter&#8221;,<br \/>\n          &#8220;interactionType&#8221;: &#8220;https:\/\/schema.org\/WriteAction&#8221;,<br \/>\n          &#8220;userInteractionCount&#8221;: 8<br \/>\n        }<br \/>\n      },<br \/>\n      &#8220;datePublished&#8221;: &#8220;2024-03-01T08:34:34+02:00&#8221;,<br \/>\n      &#8220;interactionStatistic&#8221;: {<br \/>\n        &#8220;@type&#8221;: &#8220;InteractionCounter&#8221;,<br \/>\n        &#8220;interactionType&#8221;: &#8220;https:\/\/schema.org\/LikeAction&#8221;,<br \/>\n        &#8220;userInteractionCount&#8221;: 27<br \/>\n      },<br \/>\n      &#8220;comment&#8221;: [{<br \/>\n        &#8220;@type&#8221;: &#8220;Comment&#8221;,<br \/>\n        &#8220;text&#8221;: &#8220;Who&#8217;s the person you&#8217;re with?&#8221;,<br \/>\n        &#8220;author&#8221;: {<br \/>\n          &#8220;@type&#8221;: &#8220;Person&#8221;,<br \/>\n          &#8220;name&#8221;: &#8220;Saul Douglas&#8221;,<br \/>\n          &#8220;url&#8221;: &#8220;https:\/\/example.com\/user\/saul-douglas&#8221;,<br \/>\n          &#8220;agentInteractionStatistic&#8221;: {<br \/>\n            &#8220;@type&#8221;: &#8220;InteractionCounter&#8221;,<br \/>\n            &#8220;interactionType&#8221;: &#8220;https:\/\/schema.org\/WriteAction&#8221;,<br \/>\n            &#8220;userInteractionCount&#8221;: 167<br \/>\n          }<br \/>\n        },<br \/>\n        &#8220;datePublished&#8221;: &#8220;2024-03-01T09:46:02+02:00&#8221;<br \/>\n      },{<br \/>\n        &#8220;@type&#8221;: &#8220;Comment&#8221;,<br \/>\n        &#8220;text&#8221;: &#8220;That&#8217;s my mom, isn&#8217;t she cool?&#8221;,<br \/>\n        &#8220;author&#8221;: {<br \/>\n          &#8220;@type&#8221;: &#8220;Person&#8221;,<br \/>\n          &#8220;name&#8221;: &#8220;Katie Pope&#8221;,<br \/>\n          &#8220;url&#8221;: &#8220;https:\/\/example.com\/user\/katie-pope&#8221;,<br \/>\n          &#8220;agentInteractionStatistic&#8221;: {<br \/>\n            &#8220;@type&#8221;: &#8220;InteractionCounter&#8221;,<br \/>\n            &#8220;interactionType&#8221;: &#8220;https:\/\/schema.org\/WriteAction&#8221;,<br \/>\n            &#8220;userInteractionCount&#8221;: 8<br \/>\n          }<br \/>\n        },<br \/>\n        &#8220;datePublished&#8221;: &#8220;2024-03-01T09:50:25+02:00&#8221;,<br \/>\n        &#8220;interactionStatistic&#8221;: {<br \/>\n          &#8220;@type&#8221;: &#8220;InteractionCounter&#8221;,<br \/>\n          &#8220;interactionType&#8221;: &#8220;https:\/\/schema.org\/LikeAction&#8221;,<br \/>\n          &#8220;userInteractionCount&#8221;: 7<br \/>\n        }<br \/>\n      }]<br \/>\n    }<br \/>\n  &lt;\/script&gt;<br \/>\n&lt;\/head&gt;<br \/>\n&lt;body&gt;<br \/>\n&lt;\/body&gt;<br \/>\n&lt;\/html&gt;<\/textarea><\/form>\n<p><\/p>\n<div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>You can use discussion forum structured data to help Google understand your community forum content.<\/p>\n","protected":false},"menu_order":87,"template":"","meta":{"footnotes":""},"ar_kb_kategori":[679],"ar_kb_etiket":[],"class_list":["post-25508","ar_kb","type-ar_kb","status-publish","has-post-thumbnail","hentry","ar_kb_kategori-feature-guides"],"_links":{"self":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb\/25508","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb"}],"about":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/types\/ar_kb"}],"version-history":[{"count":0,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb\/25508\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media\/27541"}],"wp:attachment":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media?parent=25508"}],"wp:term":[{"taxonomy":"ar_kb_kategori","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb_kategori?post=25508"},{"taxonomy":"ar_kb_etiket","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb_etiket?post=25508"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}