Hello,
We apologize for the issue you are facing with the FAQ blocks not being detected by Google’s Rich Text Results test when nested. This can sometimes happen due to how structured data is interpreted by Google.
To ensure that your FAQ blocks are detected correctly, it’s generally recommended to keep them at a single container level if possible. If you need to use nested containers, you might want to check if the outer containers are affecting the schema markup.
For more detailed assistance, please reply to this ticket, and a human agent from the Rank Math Support team will be able to help you further.
Thank you for raising this concern!
Sources:
How To Fix mainEntity Schema Issues in Rank Math » Rank Math
Hello,
Please note that the FAQ Block needs to be added as an FAQ Block on the editor (outside a container) in order for Rank Math to detect the insertion and also add the necessary Schema to the page’s header.
However, you can use and customize the example filter below to use the FAQ block inside the container on your website:
add_filter( 'rank_math/schema/nested_blocks', function( $nested ) {
$nested[] = 'generateblocks/container';
return $nested;
});
And here’s a guide to adding the code to the website:
https://rankmath.com/kb/wordpress-hooks-actions-filters/
Looking forward to helping you.
Hi Reinelle,
The RankMath FAQ code is being put into the delivered HTML code in both cases. I don’t think its a coding issue. I think its a Google quirk that you/your users might need to be aware of.
If I put an FAQ block inside some columns, it works fine.
If I put the columns inside a cover, it still puts the same FAQ code around the FAQ text, but Google no longer recognises it.
It sounds like the Rich Text Results test might be having trouble with deeply nested FAQ blocks. Google’s tools can sometimes struggle with detecting structured data if it’s embedded too deeply within containers. To improve detection, try simplifying the structure or placing the FAQ block closer to the root of the page hierarchy. This could help ensure that the FAQ content is recognized correctly.
Hi Lee,
I’ve already implemented the work around from my initial post. I just wanted to let you know about the issue as you may want to include something in the plugin to advise users or make a help page on the subject.
Hello,
Thank you for the feedback and letting us know about the issue. We’ll take note of it from now on.
Thank you for choosing Rank Math