Hide Rich Snippets content in product page

#21235
Viewing 6 replies - 1 through 6 (of 6 total)
  • Todd
    Rank Math free

    Hi Alex,

    Thanks for getting in touch with us.

    This might be happening because your rich snippet is set up to be shown below the content.

    Please head over to the post/page in question and then go to the Rich Snippets tab of Rank Math.

    You will see this option:

    null

    Choose the “Custom (Shortcode)” option and then don’t paste the shortcode anywhere. That will prevent your rich snippets from showing up on the frontend. By the way, showing the rich snippet on the frontend is completely optional and doesn’t affect your rich search results.

    We hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Hi,

    ok, Thanks for your reply.

    Regards

    Hi,
    By the way, can use this code to hide the snippet show in frontend?

    /**
     * Filter: Allow disabling the review display.
     *
     * @param bool $return true to disable.
     */
    add_filter( 'rank_math/snippet/review/hide_data', '__return_true' );
    

    Regards

    Hello,

    Thank you for contacting Rank Math today.

    Yes you can also use this snippet, the only difference is that this method will disable the display of the review snippet on all posts/pages/CPTs on your site.

    Please note that the preview of your review is added in accordance with the Google guidelines which suggest that a webmaster should show the schema to the users as well as to the bots.

    If you show it to just the bots, you run the risk of getting removed from the rich snippets program. That is the reason it is being added to the frontend.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Hi,

    Thanks For your advice.

    Regards

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/?rate=5#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘Hide Rich Snippets content in product page’ is closed to new replies.