Remove support for isSimilarTo attribute code is missing after website migration

#59674
  • You have added the following code to functions.php remove errors in our product pages schema markups errors.

    /**
    * Remove support for isSimilarTo attribute on Rank Math product schema
    */
    add_filter( ‘rank_math/snippet/rich_snippet_product_entity’, function( $entity ) {
    if ( isset( $entity[‘isSimilarTo’] ) ) {
    unset( $entity[‘isSimilarTo’] );
    }
    return $entity;
    });

    But recently we have changed our host and found that this code is missing in functions.php

    We also noticed that all those schema markup errors are not there now while testing live. You can test these product and category pages;
    https://healthcarentsickcare.com/hemogram-test
    https://healthcarentsickcare.com/bone-profile-blood-test

    DO YOU STILL THINK WE SHOULD ADD THESE CODES into function.php file?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting Rank Math today.

    Since there is no issue, I’d currently recommend to leave it like that. In case of a similar issue in future, you can always get in touch and it will be our pleasure to assist you.

    ​​​​​​

    Okay…Sure
    Thank you

    Todd
    Rank Math free

    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/#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 3 replies - 1 through 3 (of 3 total)

The ticket ‘Remove support for isSimilarTo attribute code is missing after website migration’ is closed to new replies.