og:image not working – CDN URL issue? Something else?

#95390
  • Resolved Michael Sheehan
    Rank Math pro

    Recently moved from Yoast to Rank Math! Love it. Been fine-tuning my site on a variety of things, but I recently tried to share a post on my FB page (as well as via Buffer on Twitter) and the featured image wasn’t showing. I ran the FB debugger and it is showing the error of:

    Provided og:image, https://cdn.hightechdad.com/wp-content/uploads/2020/09/HTD-how-to-hide-title-1.png could not be downloaded. This can happen due to several different reasons such as your server using unsupported content-encoding. The crawler accepts deflate and gzip content encodings.

    I used to have hotlinking enabled on cloudflare (as well as in my .htaccess) but now both are off and confirmed that images can be accessed.

    I do use:
    – Varnish Cache
    – CDN (MaxCDN)
    – CloudFlare

    My site’s TLD is http://www.hightechdad.com
    CDN is cdn.hightechdad.com

    So, in the source, you can see both www and cdn depending on the file type. But the of:image is listed as being pulled from the cdn.

    Any thoughts why this isn’t working? I have cleared all 3 caches recently (varnish, CDN, and CloudFlare).

    Thanks,
    Michael

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math today.

    The issue seems to be with your image encoding. Could you please check if your are encoding your images to Base64 ? It seems Facebook Sharer doesn’t accept base64 images. Here is a similar topic on this issue you can follow up with: https://stackoverflow.com/questions/50520989/facebook-error-when-pulling-ogimage

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘og:image not working – CDN URL issue? Something else?’ is closed to new replies.