Hello,
Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.
Could you please share the affected URL so we can check the schema you’re using?
Meanwhile, Rank Math adds reviewCount
and ratingCount
, both properties to the AggregateRating.
If Google picks up reviewCount, they show reviews in the snippets, while ratingCount shows votes.
If you want to show the reviews instead, you can remove the ratingCount property from the Schema using the following filter (assuming you’re using product schema):
add_filter( "rank_math/snippet/rich_snippet_product_entity", function( $entity ) {
if(isset($entity['aggregateRating'])) {
unset($entity['aggregateRating']['ratingCount']);
return $entity;
}
return $entity;
});
And here’s a guide on how to add a filter to your site:
https://rankmath.com/kb/wordpress-hooks-actions-filters/
Upon applying the filter, you may need to give Google some time to recrawl the pages and update the search results page.
Looking forward to helping you.
Thank you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.