Title: Links changing from https to http &#8230;not the desired behavior
Last modified: August 21, 2016

---

# Links changing from https to http …not the desired behavior

 *  [smeyer012](https://wordpress.org/support/users/smeyer012/)
 * (@smeyer012)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/links-changing-from-https-to-http-not-the-desired-behavior/)
 * I am having difficulty with links dynamically generated in wp_head, for instance,
   like enqueued scripts and plugin resources or any dynamically generated url within
   my theme code. They are using http instead of https, even though the url in the
   database is https. I’ve tried implementing this plugin to address the problem
   and it is now forcing even hard coded links to http instead of https, which is
   breaking the link to the css file, etc. This seems counter-intuitive. Am I missing
   something?
 * [http://wordpress.org/extend/plugins/wordpress-https/](http://wordpress.org/extend/plugins/wordpress-https/)

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

 *  [dabernathy89](https://wordpress.org/support/users/dabernathy89/)
 * (@dabernathy89)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/links-changing-from-https-to-http-not-the-desired-behavior/#post-3819559)
 * I’m having the same issue, but only with one link. Stored correctly in the database,
   but displayed with http. Very strange.
 * ==
 * edit: okay the only reason I hadn’t noticed this until now is that the script
   I’m trying to load can ONLY be loaded via https. this plugin’s behavior is a 
   little frustrating.
 *  [davidddn](https://wordpress.org/support/users/davidddn/)
 * (@davidddn)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/links-changing-from-https-to-http-not-the-desired-behavior/#post-3819607)
 * Is this an acknowledged issue?
 * At the least there should be an option to ignore urls or matched strings. I had
   a big problem with some tracking code for a 3rd party site not responding because
   the plugin was force rewriting the https to http (on a http page).
 * I’ve temporarily disabled the public function makeUrlHttp( $string completely

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

The topic ‘Links changing from https to http …not the desired behavior’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-https_bec2c9.svg)
 * [WordPress HTTPS (SSL)](https://wordpress.org/plugins/wordpress-https/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-https/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-https/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-https/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-https/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-https/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [davidddn](https://wordpress.org/support/users/davidddn/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/links-changing-from-https-to-http-not-the-desired-behavior/#post-3819607)
 * Status: not resolved