Title: HTTPS URL
Last modified: August 30, 2016

---

# HTTPS URL

 *  [andym3kt](https://wordpress.org/support/users/andym3kt/)
 * (@andym3kt)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/https-url-1/)
 * My WP site is running under HTTPS but images uploaded use the HTTP Azure blob
   storage URL, is it possible for this plugin to return the HTTPS version of all
   file URLs?
 * [https://wordpress.org/plugins/windows-azure-storage/](https://wordpress.org/plugins/windows-azure-storage/)

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

 *  Thread Starter [andym3kt](https://wordpress.org/support/users/andym3kt/)
 * (@andym3kt)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/https-url-1/#post-6751686)
 * Not sure if this is the best approach but I found that if I edit getStorageUrlPrefix()
   in windows-azure-storage-dialog.php I can change http to https and this seems
   to work:
 *     ```
       // Use cloud storage
       if ($appendContainer) {
           return 'https://' . $azure_storage_account_name
               . '.' . $blobStorageHostName
               . '/' . $default_azure_storage_account_container_name;
       } else {
           return 'https://' . $azure_storage_account_name
               . '.' . $blobStorageHostName;
       }
       ```
   
 *  Thread Starter [andym3kt](https://wordpress.org/support/users/andym3kt/)
 * (@andym3kt)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/https-url-1/#post-6752013)
 * Ok a better resolution is just set the CNAME property in this plugin’s settings
   to be the HTTPS version of the blog storage URL.
 * This is also how you can use an Azure CDN pointed at your storage container, 
   just enter the https Azure CDN hostname.
 *  Plugin Contributor [Morgan Estes](https://wordpress.org/support/users/morganestes/)
 * (@morganestes)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/https-url-1/#post-6752020)
 * This is one of the things that is being fixed with the next release. The URL 
   will default to the HTTPS blob for all sites.
 * Since Azure Storage doesn’t handle SSL/TLS CNAMEs, you’ll get certificate mismatch
   errors if you try to use `https://` for your CNAME in the plugin.

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

The topic ‘HTTPS URL’ is closed to new replies.

 * ![](https://ps.w.org/windows-azure-storage/assets/icon-256x256.png?rev=2486101)
 * [Microsoft Azure Storage for WordPress](https://wordpress.org/plugins/windows-azure-storage/)
 * [Support Threads](https://wordpress.org/support/plugin/windows-azure-storage/)
 * [Active Topics](https://wordpress.org/support/plugin/windows-azure-storage/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/windows-azure-storage/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/windows-azure-storage/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Morgan Estes](https://wordpress.org/support/users/morganestes/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/https-url-1/#post-6752020)
 * Status: not resolved