How to remove link to Gravatar

#781636
  • Resolved pt4
    Rank Math free

    Hello dear support,

    in my Rank Math Schema, I see the following link, which leads to the “Gravatar”-logo.
    https://secure.gravatar.com/avatar/0aaac5c2920191ef3868ffbded3df6f9?s=96&r=g

    How can I remove this link, as it creates a GDPR issue for us? (I have now disabled RankMath for the time being, but I use it on a lot of my websites, so I would appreciate a solution.)

    I have disabled showing avatars in the WordPress settings, under “discussion”.
    Alternatively, I have also tried out a plugin to set my own avatar image locally, to see if that overrides this link in the Rank Math schema, but in vain.

    Thank you in advance!

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

    I apologize for the inconvenience you are facing with the Gravatar link appearing in your Rank Math Schema. To remove the link to Gravatar, you can follow these steps:

    1. Navigate to your WordPress Dashboard.
    2. Go to WordPress Dashboard → Appearance → Theme File Editor (for Classic Theme) or WordPress Dashboard → Tools → Theme File Editor (for Block Theme).
    3. Click on functions.php or rank-math.php from the theme files.
    4. Add the following code snippet to remove the Gravatar link:
    /**
     * Filter to remove Gravatar link from Rank Math Schema
     */
    add_filter( 'rank_math/link/remove_class', '__return_true' );
    1. Click on Update File to save the changes.

    By following these steps, you should be able to remove the link to Gravatar from your Rank Math Schema. If you have any further questions or need assistance, please feel free to reach out to our support team. They are available 24/7 and will be happy to help you.

    Thank you for bringing this concern to our attention!

    Sources:
    Remove “rank-math-link” Class from All Outbound Links » Rank Math
    How to Fix ‘Automatic Update is Unavailable for this Plugin’ Error in Rank Math » Rank Math
    Removing Schema From Your Posts & Pages » Rank Math
    How to Completely Uninstall Rank Math From Your Website » Rank Math
    How to Hide SEO Score From the Frontend » Rank Math

    pt4
    Rank Math free

    Hello,

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

    Thank you.

    Hello,

    Thank you for contacting us and sorry for any inconvenience that this issue might have caused.

    You can use the following filter to change the properties of the ImageObject:

    add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
            $data['ProfilePage']['image'] = [
                                              '@type' => 'imageObject',
                                              '@id' => 'ID you want to set',
                                              'url' => 'URL you want to set',
                                              'caption' => 'caption you want to set', 
                                            ];
    	return $data;
    }, 99, 2);

    Here’s how you can add filter/hook to your WordPress site: https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Let us know how it goes. Looking forward to helping you.

    Thank you.

    pt4
    Rank Math free

    Hello,

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

    Thank you.

    Hello,

    That information is taken from the data in the profile of the author of the page/post where this appears.

    You can control this information by going to WordPress Dashboard > Users and selecting the user that you want to edit. The particular field you shared is the website field but our plugin will also include others such as the social media data if that is added to the user profile.

    Don’t hesitate to get in touch if you have any other questions.

    pt4
    Rank Math free

    Thank you so much for everything. The support has been really great and I could solve all the issues with the solutions you provided. Much appreciated.

    Hello,

    Glad that helped!

    If you have any other questions in the future don’t hesitate to get in touch.

    We are here to help!

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

The ticket ‘How to remove link to Gravatar’ is closed to new replies.