• Resolved mayank1059

    (@mayank1059)


    Hi,

    I have recently started adding question answers posts on my website (Not FAQ), I changed the default page type of my custom post to the QA page, by going to Search Appearance -> Content Types -> Default Page Type -> QA page. But checking the schema on google I am getting “Missing field “mainEntity”” error.

    I have the latest version of Yoast, I have no old cache, and I don’t use any other such schema plugin that can cause conflict. I have also tried deactivating all other plugins except Yoast, clearing all the old cache, and the problem still persists.

    https://search.google.com/test/rich-results?id=kzwl05srEo6r3t67rmQO7Q

    • This topic was modified 4 years, 11 months ago by mayank1059.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Michael Tiña

    (@mikes41720)

    Hi,

    Our default logic comes with a lot of build-in validation and error handling. These checks make sure that we don’t output invalid structured data in edge cases, or when we encounter conflicting options. They also help us to integrate all of the different pieces of schema which a page outputs.

    By overriding the defaults, you may alter your schema markup in ways which don’t make sense, or which are incomplete.

    For example, Google expects a FAQPage to contain a series of questions, in a specific format. If you describe a normal page as a FAQPage without also including a series of questions-and-answers with the correct structured markup, this may result in errors or unexpected behaviors.

    You can learn more about it here – https://yoast.com/help/selecting-content-types-in-schema-settings/

    So if you’ve set the page as a QA page (which is outside of our defaults), you need to ensure that the schema output is correct and has the other properties that it requires. You can refer to our article here for more information on the schema API if you need to make any modifications – https://developer.yoast.com/features/schema/api/

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Missing field “mainEntity” on QA page [Not FAQ]’ is closed to new replies.