Title: https links change to http
Last modified: May 22, 2025

---

# https links change to http

 *  Resolved [Geraldo Pena Perez](https://wordpress.org/support/users/geraldopena/)
 * (@geraldopena)
 * [10 months, 3 weeks ago](https://wordpress.org/support/topic/https-links-change-to-http/)
 * I am working locally in my computer with your plugin. The external urls I am 
   using, have https. I am pulling images and video from an extremely reliable source(
   my media server). However, all the links I get from it have https protocol.
   When
   I verify the links after created, they are all http:// …Is this behaviour intended?
   Is there a setting I can use to prevent this?Thanks for the plugin!
    -  This topic was modified 10 months, 3 weeks ago by [Geraldo Pena Perez](https://wordpress.org/support/users/geraldopena/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhttps-links-change-to-http%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [10 months, 3 weeks ago](https://wordpress.org/support/topic/https-links-change-to-http/#post-18481353)
 * Hi, thanks for your question.
 * Take a close look at the source URL and the URL of the file in the media library.
   If an external `https` URL is used, but WordPress does _not _use `https`, the
   file is saved locally. As a result, it is then provided locally via the proxy
   provided by the plugin – and under the `http` URL of WordPress, not the original
   external `https` URL.
 * Reason: To avoid error messages in browsers. They don’t like it when you mix `
   http` and `https`.
 * The behavior can be adjusted. There is the hook “eml_http_ssl” whose return must
   be set to false to prevent the behavior described above. But then it could happen
   that the browser complains, for example, when an image is called up because it
   is not called up with the same protocol as the website.
 * See also: [https://github.com/threadi/external-files-in-media-library/blob/master/docs/hooks.md#eml_http_ssl](https://github.com/threadi/external-files-in-media-library/blob/master/docs/hooks.md#eml_http_ssl)

Viewing 1 replies (of 1 total)

The topic ‘https links change to http’ is closed to new replies.

 * ![](https://ps.w.org/external-files-in-media-library/assets/icon-256x256.jpg?
   rev=3477016)
 * [External files in Media Library](https://wordpress.org/plugins/external-files-in-media-library/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/external-files-in-media-library/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/external-files-in-media-library/)
 * [Active Topics](https://wordpress.org/support/plugin/external-files-in-media-library/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/external-files-in-media-library/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/external-files-in-media-library/reviews/)

## Tags

 * [HTTP](https://wordpress.org/support/topic-tag/http/)
 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [protocol](https://wordpress.org/support/topic-tag/protocol/)

 * 1 reply
 * 2 participants
 * Last reply from: [threadi](https://wordpress.org/support/users/threadi/)
 * Last activity: [10 months, 3 weeks ago](https://wordpress.org/support/topic/https-links-change-to-http/#post-18481353)
 * Status: resolved