• Resolved pengman

    (@pengman)


    I’ve set a Facebook image for this page in Yeost SEO (the big red lips image), but when I post the page URL in Facebook, my site wide og:image shows up, not the one specific to this page. How can I get the correct image to show up?

    You’ll note that my site wide og:image is added by the All-Meta-Tags plugin as the code below. This doesn’t allow me to set an og:image for a specific page. Maybe this plugin is overriding the image I’m setting in Yoast SEO for this page?

    <!– [BEGIN] Metadata added via All-Meta-Tags plugin by Space X-Chimp ( https://www.spacexchimp.com ) –>
    <meta property=”og:image” content=”https://seaviewcottageportland.letsgouk.com/wp-content/uploads/2021/07/20210622_140014.jpg&#8221; />
    <!– [END] Metadata added via All-Meta-Tags plugin by Space X-Chimp ( https://www.spacexchimp.com ) –>

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello Pengman,

    Thanks for reaching out about your page og:image. When we check the page source, the image defined is:

    <meta property=”og:image” content=”https://seaviewcottageportland.letsgouk.com/wp-content/uploads/2021/09/The-Roky-Horror-Pictiure-Show-Lips-Facebook.jpg” />

    We believe this meets your expectation as it is the image you have defined for the page specifically.

    However, in the Facebook sharing debugger, it’s another image. See screenshot.

    As you may have suspected, it could be a plugin conflict. Can you temporarily deactivate the All-Meta-Tags plugin and use the Facebook sharing debugger and Scrape Again a couple of times?

    Do let us know how it goes.

    Thread Starter pengman

    (@pengman)

    I’ve deactivated the All-Meta-Tags plugin and now I’m getting the image I want on the page in question, so many thanks! However, I’m no longer getting the og:description for this page even though I’ve added the description in Yoast SEO. Is this because the red lips image is in landscape format as opposed to my site-wide image which was in portrait format?

    I’ve no idea where my (portrait format) site-wide og:image is being set now the All-Meta-Tags plugin is deactivated – I haven’t set it in Yoast SEO for my home page or any other page, so where is it likely to be set from now? I’d like to change it to a different image in landscape format and I guess I can do that for in Yoast SEO for my home page in the same way as I have done for the this page, but I wouldn’t want to lose my og:description as Ive done on this page. Any clues as to how I do this without losing my og:description?

    Plugin Support Maybellyne

    (@maybellyne)

    Thanks for the feedback, Pengman. Like we have both suspected, it was a plugin conflict.

    You mentioned not getting the og:description for that page. I believe this has nothing to do with your image size/format. So again, I checked the page source and you have the description but this doesn’t show when shared on Facebook:

    <meta property=”og:description” content=”Searching for halloween weekend breaks for adults, holiday cottages by the sea, cottages by the beach, or good self catering accommodation?” />

    This means the Yoast SEO plugin is working as expected but Facebook refuses to pull the data. Can you please try to scrap again a few times?

    Do let us know how it goes.

    Thread Starter pengman

    (@pengman)

    I’ve scraped a further 5 or 6 times but the description still isn’t appearing. I suspect this maybe because of the words ‘for adults’ which the Facebook bot may say is violating their commerce policy. That said it is allowing ‘for adults’ in the title, so why not the description? I’ve tried to post a link to this page in various Facebook ‘for sale’ groups today and it’s been reejected as viloating their commerce policy and I guess that’s because I was saying ‘Adults Only’ in my post (I’ve appealed the rejection), so maybe something similar is happening here?

    But how do I excercise control over the site-wide Facebook image that appears on my site? (unless overridden by a Facebook image for a specific page as I’m doing here). If I can’t have a site-wide Facebook image, I guess I should set a Facebook for every page and post using the Yoast SEO plugin – is that my way forward?

    Plugin Support Maybellyne

    (@maybellyne)

    Have you considered playing around with the meta description and not using the phrase ‘for adults’? This will confirm your suspicion.

    Furthermore, you can set a site-wide image for Facebook in the Yoast SEO plugin in WordPress > SEO > Social > Facebook. This default image is used if the post/page being shared does not contain any images.

    Thanks!

    Thread Starter pengman

    (@pengman)

    OK, I think I know what’s going on now. From experimentation I’ve found that if I set a landscape Featured Image on a Page or Post, then the description will not show up on Facebook. The same applies if there is no Featured Image set but I have a (default) landscape image set as a Facebook image in Yoast SEO. But if I have a porttrait image set in either of these two situations, then the descrption shows up in Facebook, to the right of the image. So I don’t think my reference to ‘Adults Only’ in my description on this page has anything to do with the description not showing up on Facebook. So armed with this information I can now display the image I want on any page or post but I have to accept that if use a landscape image, the description won’t be displayed in Facebook.

    I thought I might have to upgrade to Yoast Premium to get this functionality but it appears I don’t have to, although I’m still considering upgrading to Yoast Premium but I figure that will demand more time to implement, and at present I haven’t got the time to do it justice. But I’ll probabaly upgrade in a month or two so I’m in the best shape possible to sell my holiday accommodation in the first 3 months of next year. Meanwhile, thank you @maybellyne for your excellent support and Yoast for a great product!

    Plugin Support Michael Ti?a

    (@mikes41720)

    Hi @pengman

    Thank you for your feedback and for sharing your findings! You’ll definitely have to experiment a bit with the open graph tags in order to get the expected social preview.

    The only added feature in the Yoast SEO Premium plugin is that you’re able to see what the social preview output would look like when shared on Facebook from within the social tab of the Yoast SEO meta box already, otherwise, you can still set the open graph tags even with the free version of Yoast SEO.

    We’re glad to hear that you’re interested in upgrading to Yoast SEO Premium. You can review all of the additional features you would be getting here. Have a good one!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How do I set og:image property for a specific web page?’ is closed to new replies.