Title: Problem with links changing to https
Last modified: April 2, 2018

---

# Problem with links changing to https

 *  [Gary Box](https://wordpress.org/support/users/motorhome-vagabond/)
 * (@motorhome-vagabond)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/problem-with-links-changing-to-https/)
 * Hi,
 * I have an issue with a page on a website where we link out to 2 other pages. 
   These pages we link to are not https. We add the link to the page and for some
   unknown reason it changes the link to https.
 * I saw another thread on Really Simple SSL support where a user had same issue
   which was eventually resolved but I don’t even have this plugin installed so 
   don’t understand why I am getting the issue. The problem goes away as soon as
   I deactivate Autoptimize plugin.
 * Any ideas?
    Gary
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblem-with-links-changing-to-https%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/problem-with-links-changing-to-https/#post-10139311)
 * and what are the 2 links in question [@motorhome-vagabond](https://wordpress.org/support/users/motorhome-vagabond/),
   what should I be looking out for?
 *  Thread Starter [Gary Box](https://wordpress.org/support/users/motorhome-vagabond/)
 * (@motorhome-vagabond)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/problem-with-links-changing-to-https/#post-10139367)
 * Hi,
 * Thanks for quick reply. The two links are those that say online catalogue 1 and
   2. The second link works fine. The first link tries to link to https even though
   I don’t add the link in that format.
 * As soon as I disable the plugin the link works again.
 * Thanks
    Gary
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/problem-with-links-changing-to-https/#post-10140201)
 * I see and confirm the link is still `http://` when AO is inactive (one can disable
   AO by adding `?ao_noptimize=1` to the URL) but I’m pretty much flabbergasted,
   I don’t see how/ why AO could cause this. Yet.
 * So let’s dive in; can do some tests by disabling only JS, then only CSS and then
   only HTML optimization? Goal is to identify in which of these this gets changed.
 * frnak
 *  Thread Starter [Gary Box](https://wordpress.org/support/users/motorhome-vagabond/)
 * (@motorhome-vagabond)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/problem-with-links-changing-to-https/#post-10142964)
 * Hi,
 * Thanks for the reply. So are you saying you want me to remove the tick for the
   box ‘Optimise Javascript Code’ and then test and then do same for CSS and HTML?
 * Await your reply.
 * Gary
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/problem-with-links-changing-to-https/#post-10142980)
 * correct 🙂 goal is to know which of those 3 particularly is causing this erratic
   behavior.

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

The topic ‘Problem with links changing to https’ 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/)

 * 5 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/problem-with-links-changing-to-https/#post-10142980)
 * Status: not resolved