- This topic has 26 replies, 3 voices, and was last updated 2 years, 4 months ago by Ying.
-
AuthorPosts
-
November 28, 2021 at 10:01 am #2027906Kia
Hi,
We use Yoast SEO to change our featured image for Facebook. However, even when I use a debugger the featured image does not show. For example, this post (https://www.atlasandboots.com/travel-blog/which-countries-produce-the-most-plastic-waste/) has a photo for a featured image, but I have set it to be a map for the Facebook image in Yoast. However, in FB debugger the meta property=”og:image” content= shows up twice. Once in the header and once lower down in the Yoast SEO plugin section. I can’t get Facebook to ignore the og:image in the header and read it from Yoast. Can I remove it from the header somehow? This never used to be a problem but started recently and I’m not sure why.
Many thanks.
Debugger example (need to be logged into FB): https://developers.facebook.com/tools/debug/echo/?q=https%3A%2F%2Fwww.atlasandboots.com%2Ftravel-blog%2Fwhich-countries-produce-the-most-plastic-waste%2F
November 28, 2021 at 1:19 pm #2028173YingStaffCustomer SupportHi Kia,
I’m not familiar with the FB thing, are you trying to remove the featured images?
If so, go to customizer > layout > blog > featured images > posts, uncheck the
Display featured images
box.Or delete the featured images from the post editor?
Let me know if that works for you.
November 28, 2021 at 2:58 pm #2028251KiaHi Ying, thanks for getting back to me.
I do want to keep the featured image in the post, but I want Facebook to display a different one in its preview. So usually, you change the Facebook preview image in the Yoast SEO plugin which changes the ”og:image”. That’s not working.
Facebook is using this image as a preview:
<meta property=”og:image” content=”https://www.atlasandboots.com/wp-content/uploads/2021/11/Which-countries-produce-the-most-plastic-waste-lead-image.jpg”>
instead of this image:
<meta property=”og:image” content=”https://www.atlasandboots.com/wp-content/uploads/2021/11/plastic-waste-per-capita-map.jpg”>
Thanks.
November 28, 2021 at 3:16 pm #2028273YingStaffCustomer SupportIf you switch to the twenty twenty one theme, does it work as your expectation?
Let me know!
November 29, 2021 at 6:13 am #2029183KiaHi Ying, We tested it on our other sites which are on twenty-twenty and twenty-twenty one, as well as another theme (Pinnacle), and they all worked so this does seem to be specific to GeneratePress.
Thanks.
November 29, 2021 at 11:00 am #2029886YingStaffCustomer SupportCan you link us to the other site where it works well so we can see the differences?
November 29, 2021 at 11:58 am #2029974KiaOther sites working:
https://www.factsinstitute.com/ (Pinnacle)
https://www.asianbooklist.com/ (Twenty-twenty)November 29, 2021 at 12:42 pm #2030037YingStaffCustomer SupportAny specific post that in which the featured image is different from the the one set in Yoast SEO we should be looking at?
Let me know 🙂
November 29, 2021 at 12:48 pm #2030045KiaSo on this post, the the featured image is different from the the one set in Yoast SEO.
Featured image: <meta property=”og:image” content=”https://www.atlasandboots.com/wp-content/uploads/2021/11/Which-countries-produce-the-most-plastic-waste-lead-image.jpg”>
Yoast: <meta property=”og:image” content=”https://www.atlasandboots.com/wp-content/uploads/2021/11/plastic-waste-per-capita-map.jpg”>
November 29, 2021 at 12:49 pm #2030047KiaOne that’s working on twenty-twenty: https://www.asianbooklist.com/books/the-race-to-the-top/
November 29, 2021 at 1:11 pm #2030081YingStaffCustomer SupportHi Kia,
The post you attached which works with twenty-twenty does NOT have a featured image showing in the post, it’s kinda of different situation from the site using GP.
Are there any other more similar cases we could be checking at?
November 29, 2021 at 1:15 pm #2030088KiaHi Ying. this post does have a featured image set in the post.
This is the feat img
November 29, 2021 at 1:20 pm #2030092KiaThis post is the same, although it isn’t GeneratePress.
Feat image: https://www.factsinstitute.com/wp-content/uploads/2021/09/Kyiv.jpg.webp
Yoast: <meta property=”og:image” content=”https://www.factsinstitute.com/wp-content/uploads/2021/09/Countries-with-the-highest-prevalence-of-depression-map.jpg”>
You can see this post (on Pinnacle) does automatically add an “og:image” in the header
November 29, 2021 at 1:31 pm #2030122YingStaffCustomer SupportDo you mean this image?
https://www.screencast.com/t/6mcntpGxZmEYIt’s NOT a featured image, it’s added in by a WP image block.
I’m afraid it’s not the same case either.
November 29, 2021 at 1:35 pm #2030130KiaIt’s both: https://ibb.co/jLVw31d
-
AuthorPosts
- You must be logged in to reply to this topic.