Product Review stars no longer visible in Google

#42073
  • Resolved Arien
    Rank Math free

    Hello,

    I noticed that for none of my products Product Review stars are visible in Google, They were always present in the Google search results.

    Can you find you what should be changed to make them visible again?

    Should you need admin access please let me know.

    Thanks in advance for your assistance.

    regards, Arien

    • This topic was modified 4 years, 7 months ago by Arien. Reason: to enable problem solving
Viewing 10 replies - 1 through 10 (of 10 total)
  • Todd
    Rank Math free

    Hi Arien,

    Thanks a lot for your query and we are so sorry about the trouble this must have caused.

    I do not see the ratings Schema in your page’s source code:
    https://search.google.com/structured-data/testing-tool/u/0/#url=https%3A%2F%2Fwww.koffiekwaliteit.nl%2Fkoffiebonen%2Fproefpakket-koffiebonen%2F

    Did you make any changes to your website recently?

    Are you using the latest version of Rank Math.

    If you want to speed up the whole process of troubleshooting, please include your WP logins in the sensitive data section so we can take a closer look.

    Thank you.

    Arien
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Arien
    Rank Math free

    Hi Todd,

    As far as I can remember I have made no changes. I did install a new plugin Subscriptions, but this has not been activated.

    Also using the latest RM version.

    Please find login details in Sensitive section.

    Again thanks for diving in to this!
    Arien

    Hello,

    I see the issue on your site but I couldn’t reproduce it on my setup.

    Can you add your site’s FTP access in the Sensitive Data Section so we could check the issue by editing some files?

    Looking forward to helping you.

    Arien
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hi Arien,

    Thanks for the reply.

    We are checking this further and we will be in touch in a short while.

    Your patience is highly appreciated.

    Arien
    Rank Math free

    Thanks for the update, take alle the time you need to solve this.

    Arien

    Hello,

    The error you were getting in Schema data was in the isSimilar attribute of the Product schema. To remove this attribute, I added the following code in your theme’s functions.php file:

    
    add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
        if ( isset( $entity['isSimilarTo'] ) ) {
            unset( $entity['isSimilarTo'] );
        }
    
        return $entity;
    });
    
    

    This seemed to have fixed the issue. Can you please confirm?

    Thank you.

    Arien
    Rank Math free

    Hello Pratik,

    Many thanks for that!

    1) I do not know when this will be visible in google search results, but I will monitor it the next 2 weeks and let you know.

    2) you wrote you put it in theme functions file. Will be it lost then after a theme upgrade? I have a child theme as well. Would it be safer if you would put the code there?

    regards, Arien

    Alberto
    Rank Math business

    Hello,

    About question 1: yes, let us know what happens in the next weeks.

    About question 2: yes, you can put it on the functions.php file in your child theme (be sure to have the child theme active) so next time when you update the theme, that code is not lost.

    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.

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

The ticket ‘Product Review stars no longer visible in Google’ is closed to new replies.