Using https URL of Rackspace Cloud Files for WordPress needs some extra steps for more secured delivery of Static Content of your SSL enabled WordPress site. Previously we published how to use SSL Certificate for WordPress on Rackspace Cloud Sites. But, all of us, needs a CDN for leveraging the page loading speed. The flaw of the WordPress CDN plugin is that, they do not use the latest version of official developer document.
Problems for using https URL of Rackspace Cloud Files for WordPress
Using https URL of Rackspace Cloud Files for WordPress has the proper uploading problem with https URLs. API has changed now. Moreover, the API call is specific for U.K. and U.S. based account. So the easiest way is to use some method like uploading yourself and directing WordPress somehow to use the CDN, not to deliver the files from the “real” server.
Solution for using https URL of Rackspace Cloud Files for WordPress
We can use Cyberduck and upload all the static files of wp-content, wp-admin, wp-includes folders. The easiest way to get all the files and folders is to use a script or plugin to download all the contents as zip file. Actually taking a backup of FTP. Just delete all the php files, html files from the backup so that the file structure with static content remains. Now we need to upload, we will describe that, but let us finish the theory – you will use WP Super Cache like plugin and enable the CDN with https url. Now we are describing the uploading part for using https URL of Rackspace Cloud Files for WordPress using Cyberduck.
---
Look at this screen shot very carefully, if needed click this link to open in new window for bigger size :

We right clicked over the container to get the menu. As you can see the ULRs are actually different, its not just like adding a “S” with http. Understand this :
The bigger size of the image of above link is :
https://9decc0815804f0e68803-b52bd910845e257cea766376144c0613.ssl.cf2.rackcdn.com/Using%20https%20URL%20of%20Rackspace%20Cloud%20Files%20for%20WordPress.png
This is the real https URL with proper header.
Now this is the non SSL url of the same image :
http://64421904147ea7d417ec-b52bd910845e257cea766376144c0613.r99.cf2.rackcdn.com/Using%20https%20URL%20of%20Rackspace%20Cloud%20Files%20for%20WordPress.png
Merely adding an s :
https://64421904147ea7d417ec-b52bd910845e257cea766376144c0613.r99.cf2.rackcdn.com/Using%20https%20URL%20of%20Rackspace%20Cloud%20Files%20for%20WordPress.png
Do you want to see what will happen with most browsers ? Click this link to see on your Google Chrome or Opera browser. Its giving you a security prompt, right ? This is the reason why we wrote so many lines as solution for using https URL of Rackspace Cloud Files for WordPress.
