Hard coded URLs losing "https"
-
I have a URL in my WordPress install’s header.php that calls a CSS file from our CDN.
<link rel="stylesheet" type="text/css" media="all" href="https://randomstring.ssl.cf2.rackcdn.com" />
But it’s getting changed to
<link rel="stylesheet" type="text/css" media="all" href="http://randomstring.ssl.cf2.rackcdn.com" />
As you can see, the “s” gets lost and this isn’t a vallid non-HTTPS URL on the Rackspace CDN system. In the Rackspace CDN system, the “ssl” sub-sub-domain is replaced with an “r” and a random number on non-HTTPS.
I’ve tried setting “Force SSL Exclusively” and “Remove Unsecure Elements” on and off and it still does this. I’ve also tried using the “domain mapping” feature to rewrite http://randomstring.r22.cf2.rackcdn.com to https://randomstring.ssl.cf2.rackcdn.com. Neither works.
Any ideas?
- The topic ‘Hard coded URLs losing "https"’ is closed to new replies.