Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
in Q2A Core by
Maybe you haven't notice but there is a new "Discussion forum" thing in Google Search Console.

Since this was introduced, it marks as "invalid" all the URLs because:

1- Missing field "author"

2- "Comment" object must be nested inside a "CreativeWork" object

Traffic will go to cero if this is not fixed quick in Q2A and Themes.

Anyone knows a fix for this?
Q2A version: 1.8.8

1 Answer

+4 votes
edited by

Q2A is not a discussion forum. The Google Search Console has a specific type of structured data for sites using the Q&A format. Make sure to use that instead.

The type should be featured in the <html> tags of question pages like this, since Q2A by default has schema.org microdata enabled:

<html lang="en" itemscope itemtype="https://schema.org/QAPage">

I have microdata enabled.

Any idea how and where to fix the specific problems mentioned?

1- Missing field "author"

2- "Comment" object must be nested inside a "CreativeWork" object

Happy New Year!

Please view the source of your question pages and check if the <html> tags contains the attributes itemscope (without value) and itemtype="https://schema.org/QAPage". If they don't you need to find out why your install doesn't render the correct microdata. If they do you need to ask Google why they incorrectly identify your question pages as DiscussionForumPosting.
I don't have itemscope or itemtype anywhere and I don't have anything that prevents that.

Can be a themes problem as also happens in the other opened questions.

Maybe there is something required in the themes missing and knowing what and where can help.

Thank you.
Q2A automatically adds the microdata information to the content data structures from where the attributes are usually rendered automatically by base theme methods. However, should your theme (which you elected to not disclose) override the respective base theme methods without handling the microdata attributes, you need to modify the theme. That's all I can tell you, since my crystal ball is currently at the cleaner's.