Schema markup or structured data is one of the greatest ways to stand out from the SEO competition and boost your CTR. Being a Rank Math user, you already know how easy it is to add Schema to your post/ page. Even though it’s easy to create a Schema, some users might encounter errors such as missing field mainEntity in the Google rich results test, mostly in the case of FAQ Schema.
In this article, we will discuss how to add FAQ Schema properly and how to fix mainEntity Schema issues.
Adding FAQ Schema using Rank Math
Perhaps one of the easiest ways to add FAQ is through the Rank Math FAQ Block. Open a new post, go to the Block Editor and search for FAQ by Rank Math.
Once you click the button “FAQ by Rank Math” from the block editor, this block will be added where you can fill in relevant questions and answers.
If you want to add more FAQs, simply click on to “Add New FAQ” button on the bottom left side of the box, and a new row to add FAQ will now apear.
For more details, you can always refer to our dedicated article on “How to Add FAQ Schema?“
Fixing mainEntity Schema Issues
Once you add and publish the FAQ Schema using Rank Math FAQ block properly, you must be able to see something like below in Google rich results test. It shows there is a valid FAQ Schema on your post/ page.
However, if you choose to hide all FAQs, then when you test the results, it will show invalid and missing mainEntity errors.
It is better to turn off the visibility of the FAQs, which you don’t want to show. However, if you deliberately or accidentally turn off the visibility of all FAQs, then Google won’t be able to detect any Schema for FAQ.
Plugins/ Themes Conflict with Rank Math
Another possible cause of this error could be the use of other Schema plugins. As a best practice, it is always recommended that you use only one plugin for generating or creating Schema.
In case you are using Rank Math’s Schema, then you should avoid using Schema from any other plugin or theme to avoid any possible conflicts. You can do a simple check to see whether there are any theme/ plugin conflicts with Rank Math.
If Rank Math detects any such incompatible plugin, an error will be shown for the same, just like the one below, and you can deactivate the incompatible plugin simply by clicking the link in the error notice.
That’s it! We hope now you are clear on how errors such as invalid item/ missing mainEntity are reported by Google, especially if you are using Rank Math for creating FAQ Schema. If you are looking for more help, please don’t hesitate to reach out to our support team. We’re always here to help you.