
Preload vs Preconnect: Which Resource Hint to Use and When
Preload vs preconnect explained: when to use each resource hint, the crossorigin and as mistakes that waste them, and how many hints…
Read article
This guide is for forum owners, community managers and SEOs who run pages where users post and reply, and who are unsure which structured data fits. You will learn the rule Google gives for QAPage vs DiscussionForumPosting, what each type requires, which pages qualify for neither, and how to build and test the code.
Use QAPage when a page is focused on one question and users can submit answers to it. Use DiscussionForumPosting for other user-generated forum threads and social posts. Google says that if a forum is primarily questions with answers, use Q&A markup instead. Neither type fits FAQs, blog posts or articles written by the site itself.

QAPage describes one question and the answers users give to it, while DiscussionForumPosting describes a user post and the replies under it, whatever their shape. QAPage is built around a Question with acceptedAnswer or suggestedAnswer items and an answerCount. DiscussionForumPosting is built around a first post with nested Comment items, each with an author, a date and its text.
Both are for content written by users, not by the site. Both support authors, dates, upvotes or likes and nested comments. The difference is the structure of the conversation: a question waiting for the best answer, or an open discussion.
| Question | QAPage | DiscussionForumPosting |
|---|---|---|
| Best for | One question with answers from users | User threads and social posts of any kind |
| Main item | Question as mainEntity | The first post itself |
| Replies | Answer (acceptedAnswer or suggestedAnswer) | Comment, nested under the post it answers |
| Required | Question name, answerCount, an answer; Answer text | author.name, datePublished, text or image or video |
| Who writes it | Users must be able to submit answers | User-generated posts only |
| Not for | FAQs, how-to guides, blog posts | Articles or blogs by the site, product reviews |
Google gives one clear rule. Its discussion forum documentation says: “If the structure of the forum website is primarily questions with answers, we recommend that you use Q&A markup instead.” The same page opens with a short note that asks “Does your forum follow a question and answer pattern?” and answers “Use Q&A markup instead.”
The Q&A page documentation sets the other side of the line: “QAPage markup is for pages where the focus of the page is a single question and its answers”, and “Users must be able to submit answers to the question.” So the test is per page. A thread that is one question with user answers gets QAPage. A thread that shares news, an opinion, a project or a story, and gets replies, gets DiscussionForumPosting.
Pages written by the site itself qualify for neither. For DiscussionForumPosting, Google says: “Don’t use this markup for content that’s primarily authored by the publishers of the website or their agents.” It lists “An article or blog written directly by an agent for the website (even with comments)” and “User reviews about a product” as invalid uses.
For QAPage, Google lists as invalid “An FAQ page written by the site itself with no way for users to submit alternative answers”, “A how-to guide that answers a question”, “A blog post that answers a question” and “A product page where users can submit multiple questions and answers on a single page”. It also says “Don’t use QAPage markup for FAQ pages or pages where there are multiple questions per page.” Your own guides with question headings are articles, so use Article markup for them.
Mark up the first post with its author, date and full text, then nest every reply as a Comment. Google requires author.name, datePublished and one of text, image or video, and recommends author.url, headline, url, commentCount, interactionStatistic and isPartOf. It also says “Make sure each DiscussionForumPosting includes the entire text of the post.”
The discussion forum schema generator builds this from a short form. You type one reply per line, use > and >> to nest replies, and it flags missing required fields, invalid dates and skipped levels. It also shows a tip when the thread title is a question, which is often the first sign that QAPage fits better.
Wrap the page in QAPage with one Question as mainEntity. Google requires the question’s name, its answerCount, and either acceptedAnswer or suggestedAnswer, and every Answer needs text. Recommended properties include the author and author URL, dates, upvoteCount and the answer url.
Use the QA Page Schema Generator for the code. Google notes that a forum can have many questions that are each eligible, so apply the markup to each question page that qualifies, not to every page on the site.
No. A question H2 in your own article is a heading, not a user question, and the article stays Article content. Question headings are still useful: they mirror how people search and make the answer below easy to find. The question heading converter rewrites statement headings such as “Benefits of guest posting” as questions while keeping the keyword. Just do not add QAPage or FAQ markup because the headings are questions.
Before you publish any of this markup, follow the steps in how to test structured data, and check which search features are still live in which rich results Google still shows. For the wider picture, see the schema markup guide.
Example: a fictional SEO forum at forum.example.com has two threads. The first, titled “How long does Google take to index a migrated site?”, is one question with six user answers, one marked as accepted, so it gets QAPage with answerCount 6 and an acceptedAnswer. The second, titled “Our site migration: what happened in the first week”, is Dana R sharing her experience, with 4 replies nested 3 levels deep. It gets DiscussionForumPosting. With the defaults in the discussion forum schema generator, that second thread produces commentCount 4, 12 likes, 340 views, 0 errors and 0 warnings.
Pick the one that matches the main structure of the page. Google’s rule is about structure: if the forum is primarily questions with answers, use Q&A markup. Marking the same thread twice as two different things sends a mixed message.
No. QAPage is for one question where users can submit answers. FAQ content is written by the site, and Google says not to use QAPage for FAQ pages or pages with multiple questions. Google also says the FAQ rich result is no longer shown.
No. Google lists an article or blog written by an agent of the website as invalid, even with comments. Use Article markup for the post. The comments do not turn the page into a forum.
Use SocialMediaPosting, the parent type of DiscussionForumPosting. Google says it follows the same requirements, except that a headline is not recommended. The discussion forum schema generator offers both types.
No. Q&A markup makes a page eligible for a Q&A rich result, and Google uses forum markup to identify discussions. Eligibility depends on Google’s guidelines and its own systems, so treat the markup as a clear description, not a promise.
Either works. For forum markup Google recommends Microdata or RDFa where possible, while saying JSON-LD is still fully supported. Choose what your forum software produces most reliably and keep it in sync with the visible text.
This guide is part of my schema markup guide.
Checked 23 Oct 2026. Facts checked against these official pages. Read how I check facts in my editorial policy.
Want structured data that matches your pages? See my technical SEO service.

Preload vs preconnect explained: when to use each resource hint, the crossorigin and as mistakes that waste them, and how many hints…
Read article
Search Console regex filters explained: RE2 rules, case sensitivity, and copy ready examples for questions, brand, long-tail queries and URL folders.
Read article
Nginx vs Apache redirects: how 301 and 302 rules differ, why .htaccess rules break on Nginx, how to handle trailing slashes and…
Read articleSend your website and I will reply with a free audit.