Skip to content

Frontpage og:image not picked correctly when using Latest Posts as Homepage #10391

@mariusghitulescu

Description

@mariusghitulescu
  • I've read and understood the contribution guidelines.
  • I've searched for any related issues and avoided creating a duplicate issue.

Please give us a description of what happened.

When using the homepage to display the latest posts (set in Settings → Reading). the og:image of the homepage is incorrect. It uses the og:image of the latest post, instead of the one set for the frontpage in SEO → Social → Facebook

Please describe what you expected to happen and why.

I expected the homepage to use the image set for in SEO → Social → Facebook → Frontpage settings

How can we reproduce this behavior?

  1. Set an image in SEO → Social → Facebook → Frontpage settings
  2. Set a different image for your latest post
  3. Set the homepage to show the latest posts in Settings → Reading
  4. Check the source of the homepage, it will show the og:image of the latest post

Screenshots

2018-07-17 20_18_38-social - yoast seo fgo wordpress
2018-07-17 20_20_21-edit post fgo wordpress

Additional context

It does not seem to happen to everybody, so there must be something else triggering this issue.

Technical info

  • WordPress version: 4.9.7
  • Yoast SEO version: 7.8 (free) and 7.8.1 (premium)
  • Relevant plugins in case of a bug:
  • Tested with theme: Twenty Seventeen

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions