Title: OG:IMAGE contains http link instead of https one
Last modified: February 23, 2022

---

# OG:IMAGE contains http link instead of https one

 *  Resolved [koolmind](https://wordpress.org/support/users/koolmind/)
 * (@koolmind)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/ogimage-contains-http-link-instead-of-https-one/)
 * Hi there
    I noticed that the og:image meta tag contains an insecure http link
   instead of the correct https url.
 * Because of that, when I share my articles on WhatsApp, the image is not displayed.
   I forced the url to be https (adding a line in the code, but I’m gonna miss it
   on next update).
 * What can I look for? The same version (the very latest one) of the plugin works
   fine in another site.
 * Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fogimage-contains-http-link-instead-of-https-one%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Jeroen Rotty](https://wordpress.org/support/users/jeroenrotty/)
 * (@jeroenrotty)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/ogimage-contains-http-link-instead-of-https-one/#post-15398840)
 * Hey [@koolmind](https://wordpress.org/support/users/koolmind/),
 * Thank you for reaching out.
 * We understand that your og:image output links the image file over HTTP, while
   your site is configured under HTTPS. Let’s see what’s on.
 * Does this issue occur only for a specific post/page or on all of your pages on
   the site? Does the image you’ve selected in the media library list the media 
   source URL to HTTPS?
 * Have you recently migrated the site from HTTP to HTTPS? It might just be that
   not everything has been changed to HTTPS. If however, all media file URLs show
   HTTPS, and our output is still HTTP, then things are off.
 * In that case, I’d suggest trying the following.
 * 1. Install & activate the [Yoast Test Helper](https://wordpress.org/plugins/yoast-test-helper/)
   plugin
    2. Go to Tools > Yoast Test 3. Locate the Yoast SEO section and click
   on the ‘Reset indexables tables & migrations’, ‘Reset Prominent words calculation’,
   and ‘Reset Internal link counter’ buttons. After each click, the page will reload
   to confirm that each reset was successful. Note: Resetting the optimization doesn’t
   undo any of the hard work you’ve put into the plugin as the SEO data is also 
   stored in WordPress’ default tables. It’ll just reset the custom Yoast tables
   that contain the combined data pulled from those default tables. 4. Go to SEO
   > Tools, and under SEO data, click the “Start SEO data optimization” button to
   allow Yoast to rescan your content. 5. After completion, check our og:image output
   and check whether it’s now correctly showing HTTPS.
 *  Thread Starter [koolmind](https://wordpress.org/support/users/koolmind/)
 * (@koolmind)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/ogimage-contains-http-link-instead-of-https-one/#post-15399569)
 * [@jeroenrotty](https://wordpress.org/support/users/jeroenrotty/) Thank you. Now
   the problem seems solved. I’m still wondering why the media on muy site are actually
   addressed by http protocol. I’m investigating that with my service provider.

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

The topic ‘OG:IMAGE contains http link instead of https one’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [koolmind](https://wordpress.org/support/users/koolmind/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/ogimage-contains-http-link-instead-of-https-one/#post-15399569)
 * Status: resolved