Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Michael Ti?a

    (@mikes41720)

    Hi @bonlando

    Upon checking the page source of https://yardbirdsuite.com/, we do see that the Yoast SEO plugin is outputting the og:image tag as expected.

    But it’s definitely strange that when scraping the URL on Facebook’s sharing debugger tool, it seems to be ignoring the set og:image as well as the other tags such as the description.

    If you scroll down and click on the ‘See exactly what our scraper sees for your URL’ link, it looks like Facebook’s crawler doesn’t see the <head> section of your page but only the <body> section, which is what might be causing this issue.

    It looks like you have some CSS before the actual head section, so you might want to check and make sure that the <head> section (together with the open graph tags) is at the start by either removing or moving the CSS styling code to the <body> section.

    Once you do that, please do scrape the URL again and then check if you can get the expected preview.

    • This reply was modified 3 years, 2 months ago by Michael Ti?a.
    Thread Starter bonlando

    (@bonlando)

    Fixing the code above the head fixed it. I had references to the page header in the wrong spot.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘OG:image being ignored, scraping wrong image’ is closed to new replies.