OG: IMAGE FACEBOOK DEBUGGING

#369711
  • Hi,

    I have trouble with getting my seo-image from WordPress to show on Facebook. I’ve downloaded RankMath and tried to follow the steps on https://rankmath.com/kb/ogimage-property-should-be-explicitly-provided/. And then afterwards I ran it through Facebook’s sharing debugger, but it still says: “The ‘og:image’ property should be explicitly provided, even if a value can be inferred from other tags.”

    I’m very new to WordPress and I don’t have a lot of knowledge of programming. This is the website from where I try to fix the problem: https://gambiamediasupport.org/?lang=en
    It’s kind of old, could that be the problem?

    thanks in advance – I hope you can help me.

    Best Regards

    Marie Svane

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

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Your opening HTML tag should include something along these lines:

    
    <html prefix="og: https://ogp.me/ns#">
    

    This is to indicate that the OpenGraph protocol is present on the website and the Facebook Share Debugger can detect it.

    ​​​​​​​Hope this helps solve your issues.

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

    Thanks. But where do I need to put this opening HTML tag?

    Nigel
    Rank Math business

    Hello,

    The open graph prefix will need to be added to one of your theme’s template files. The exact file varies depending on your setup but might be the header.php. If you are unsure, please contact your developer or theme support to add the OG prefix to the tag for you.

    Hope that helps. Please let us know if you have questions.

    Thanks, it finally worked!

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

You must be logged in to reply to this ticket.