Hello,
Thank you for contacting the support, and sorry for any inconvenience that might have been caused due to that.
To properly apply the aggregateRating generated by Judge.me to Rank Math’s product schema, please add the following code in your theme’s functions.php file:
add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ){
global $post;
$entity['@id'] = get_the_permalink( $post );
return $entity;
});
Let us know how that goes. Looking forward to helping you.
Hi Azib,
Thanks for your swift reply. I have done that but it now says “unnamed item” http://prnt.sc/1zwz68f. Any thoughts?
Hello,
Can you please share the affected URL with us so we can further check it on our end? You may share it in the sensitive data section.
Looking forward to helping you with this one.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress logins in the designated Sensitive Data section.
Please do take a complete backup of your website before sharing the information with us.
![Sensitive Data Section](https://i.mythemeshop.com/SphEG0+)
It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:
https://wordpress.org/plugins/temporary-login-without-password/
You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):
https://wordpress.org/plugins/wp-security-audit-log/
We really look forward to helping you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
I have done that for you now Miguel. Let me know what you find
Hello,
We noticed that Judge.me is outputting two sets of Schema.
One is the being attached to our plugin with the filter provided but the other is an older iteration and doesn’t need to be on the website.
We updated the settings so that only the JSON-LD format for the reviews is outputted on the website and tested the page again which produced valid results for the review: https://search.google.com/test/rich-results/result?id=1irpy_b93i-WGNnGfSoELw
The only warning on the products now is one for the review field which is not needed since you already have the aggregateRating
and the global identifier which can be fixed with the following tutorial: https://rankmath.com/kb/gtin-mpn-woocommerce/
Hope this helps clarify your doubts and solve the issues.
Don’t hesitate to get in touch if you have any other questions.
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.