How to add opengraph

  • Resolved Michel Hamaoui
    Rank Math free

    Hello before your plugin has the option to add opengraph for facebook, instagram, linkden why did you remove them , and how we can add them again.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Alberto
    Rank Math business


    Thanks for getting in touch with us.

    Yes, we have removed certain social networks from the social meta tab in titles & meta settings.

    The same thing is mentioned in our changelog:
    Removed: Multiple Social meta options, as they are not required anymore for the Knowledge Graph by Google & Bing. You should only see the needed options in the Global Social Meta settings page

    These are all the options we have now:

    Please run the SEO Analysis again so you can see the updated tests.

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

    i know that your plugin remove them, how we can add this manually do you know how


    The options removed are just the social data. The opengraph data which is used in social sharing such as og:image, og:url and other is are still added to your page.

    However, if you want to add your social URLs to your site schema, you can do that by use of the following filter:

    add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
        if ( isset( $data['Organization'] ) ) {
            $data['Organization']['sameAs'] = ['', ''];
        return $data;
    }, 99, 2 );

    Change the URLs to your own social URLs

    Hope that helps. If you have any further question(s), please let us know. Thank you.

    ok thank you


    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 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 5 replies - 1 through 5 (of 5 total)

The ticket ‘How to add opengraph’ is closed to new replies.