• Resolved neaqwebmaster

    (@w2owebmaster)


    This is a WP site with some custom content types created using the Pods plugin. Mostly Yoast works fine, but in one of our custom content types, “Exhibits,” the og:image tag is getting bumped out of the Yoast SEO block and appearing down below the below the <body> tag. You can see it in the source for this page: https://www.neaq.org/exhibit/indo-pacific-coral-reef/

    This is preventing Facebook from scraping the image we’ve selected in Yoast. Our other content types seem to handle Yoast just fine, so presumably it’s something about the page template for this particular one that’s breaking it, but I don’t know what I’m looking for so I can fix it. Appreciate any light you can shine.

    • This topic was modified 6 years, 11 months ago by neaqwebmaster.
    • This topic was modified 6 years, 11 months ago by neaqwebmaster.
    • This topic was modified 6 years, 11 months ago by neaqwebmaster.
Viewing 2 replies - 1 through 2 (of 2 total)
  • We reviewed the page and do see the og:image inside inside of the body tag. This may be due to a plugin or theme conflict. Can you try and gather as much information for us as possible? Please perform the following:

    1. Check for conflicts.
    2. Check for JavaScript errors with your console.
    If you find any JavaScript errors related to Yoast SEO or if there is a conflict with a plugin or a theme, you can create a new GitHub issue for our developers. Please report the issue to a third party developer as well.

    If you didn’t find any conflicts or errors, we think the issue is specific to your site. We’d need to investigate further but are unable to do so on these forums. You can purchase Yoast SEO Premium and receive our Premium email support and we can help you further.

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

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

The topic ‘og:image tag incorrectly placed’ is closed to new replies.