• Resolved protosoftwareraymond

    (@protosoftwareraymond)


    Hi,

    Recently the social image set on Yoast SEO has stopped appearing and when I look at the Facebook Debugger tool – I get the error ”
    The ‘og:image’ property should be explicitly provided, even if a value can be inferred from other tags.” I can see the property is set by Yoast SEO.

    I’ve tried changing the image and adding specifically to a post to see if it helps – but no luck.

    Any advice would be appreciated!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey @protosoftwareraymond,

    Thank you for reaching out.

    I tried opening the URL to check the source code, but the URL is not working for me. Can you check?

    Thread Starter protosoftwareraymond

    (@protosoftwareraymond)

    Hi Jeroen,

    Working fine my side – are you getting a 404 or time out or anything?

    Thanks!

    Hey @protosoftwareraymond,

    Thank you for your reply.

    Ah, now the URL just loads, whereas I was not able to open up your domain, it was not resolving an hour ago for me.

    That said, I was able to check the Yoast output on that specific page, and I’m a bit confused. Let me explain.

    I see in the page source the following og:image tag in our output:

    <meta property="og:image" content="https://thedeathnotices.co.uk/wp-content/uploads/2022/06/tdnsocial-1.jpg" />

    Whereas in the Facebook Debugger, I see that Facebook is still mentioning not to see the og:image tag, and uses another image in the page source instead (https://thedeathnotices.co.uk/wp-content/themes/websiteni-joints/assets/images/src/placeholder.jpg.)

    Re-scaping did not update it either. It’s an odd one, as sharing the URL on Slack or somewhere else does show the correct image. I tried to use your image (tdnsocial-1.jpg) on a page on on of my sites, and Facebook did pick it up, so the image file is just fine.

    Then I dived deeper, and it seems that your theme/template is quite broken, syntax-wise I mean. There are 2 opening HTML tags, one on line 2, and the second at line 645, where as there is some other code before it, and there seems to be no ending HTML tag on the page too. I encourage you to check your theme developer or site developer to investigate all of this, as this is most likely the root cause and can have other impacts as well.

    Thread Starter protosoftwareraymond

    (@protosoftwareraymond)

    Hi @jeroenrotty

    I’ve inherited the site from a previous developer and suspected something like this!

    Thanks for having a look!

    Regards,

    Raymond

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘og:image Error’ is closed to new replies.