Title: HTTPS Injected into HTTP site?
Last modified: July 10, 2020

---

# HTTPS Injected into HTTP site?

 *  Resolved [ergoarchitecture](https://wordpress.org/support/users/ergoarchitecture/)
 * (@ergoarchitecture)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/https-injected-into-http-site/)
 * We have been using your plugin for some time. Thanks! Anyhow, occasionally our
   site stops loading almost all images and I finally traced it to the fact that
   something was changing the http:// urls to [https://](https://wordpress.org/support/topic/https-injected-into-http-site/?output_format=md).
   I contacted Themeco who makes our theme and they responded:
 * > You have installed Autoptimize plugin and it seems that it serves the minified
   > resources using https. Since you do not have an SSL, the plugin resulted to
   > an error. We recommend that you disable this plugin and test your site again.
 * Is this possible? It kind of seems like this might have come up before you were
   installed on 1,000,000 sites… I checked the various settings and didn’t see anything
   involving http vs. https so I would be really surprised if your plugin changed
   this, but I just wanted to see if we may have misconfigured something that might
   cause this?
 * We have already fixed the html and the minified files are doing fine now, but
   they will eventually break, as they do every month or two even when we haven’t
   edited the site…
 * Thanks for any insight you might have!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhttps-injected-into-http-site%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/https-injected-into-http-site/#post-13103347)
 * Autoptimize uses a WordPress function to determine the URL from which the optimized
   files have to be served ([content_url()](https://developer.wordpress.org/reference/functions/content_url/))
   which is based on your settings, so no I see way AO itself would switch to https://
   after a couple of months no.
 * hope this helps,
    frank
 *  Thread Starter [ergoarchitecture](https://wordpress.org/support/users/ergoarchitecture/)
 * (@ergoarchitecture)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/https-injected-into-http-site/#post-13103368)
 * Thanks Frank! I figured as much but I thought I would check.
 * Steve
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/https-injected-into-http-site/#post-13103773)
 * you’re welcome, feel free to [leave a review of the plugin and support here](https://wordpress.org/support/plugin/autoptimize/reviews/#new-post)!
   🙂
 * frank

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

The topic ‘HTTPS Injected into HTTP site?’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/https-injected-into-http-site/#post-13103773)
 * Status: resolved