Title: Can&#039;t force URL to be http (not https)
Last modified: August 22, 2016

---

# Can't force URL to be http (not https)

 *  [ericr23](https://wordpress.org/support/users/ericr23/)
 * (@ericr23)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/cant-force-url-to-be-http-not-https/)
 * Although the settings for the Amazon S3 and Cloudfront plugin imply that the 
   URL for the uploaded file will use http unless “Always serve files over https(
   SSL)” is checked, my experience is that it always uses https anyway. Unless set
   up otherwise (with more fees and technical challenges), this requires the user
   to accept the Amazon SSL certificate for the domain name set up for that bucket,
   which puts a lot of people off.
 * Perhaps another routine is involved to make the SSL use consistent with that 
   of the WordPress site (which in our case does indeed use https).
 * In any case, is there a way to “force” the URL to use “http”?
 * (Right now I continue to edit amazon-s3-and-cloudfront.php: changing “https” 
   to “http” in line 546 in version 0.7.2.)
 * [https://wordpress.org/plugins/amazon-s3-and-cloudfront/](https://wordpress.org/plugins/amazon-s3-and-cloudfront/)

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

 *  Plugin Contributor [Iain Poulson](https://wordpress.org/support/users/polevaultweb/)
 * (@polevaultweb)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/cant-force-url-to-be-http-not-https/#post-5574784)
 * Hi,
 * Is your site being served over http or https?
 * The plugin uses the force SSL option or the is_ssl() function – [http://codex.wordpress.org/Function_Reference/is_ssl](http://codex.wordpress.org/Function_Reference/is_ssl)
 *  Thread Starter [ericr23](https://wordpress.org/support/users/ericr23/)
 * (@ericr23)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/cant-force-url-to-be-http-not-https/#post-5574786)
 * Yes, it is set up to use https.
 * But Cloudfront is not set up to use our domain’s SSL certificate, so to avoid
   confusing users the links there should be http.
 *  Plugin Contributor [Iain Poulson](https://wordpress.org/support/users/polevaultweb/)
 * (@polevaultweb)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/cant-force-url-to-be-http-not-https/#post-5574789)
 * Thanks for the details, I have added it as an issue for the next version –
    [https://github.com/deliciousbrains/wp-amazon-s3-and-cloudfront/issues/186](https://github.com/deliciousbrains/wp-amazon-s3-and-cloudfront/issues/186)
 *  Thread Starter [ericr23](https://wordpress.org/support/users/ericr23/)
 * (@ericr23)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/cant-force-url-to-be-http-not-https/#post-5574928)
 * Got the latest update: many thanks!

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

The topic ‘Can't force URL to be http (not https)’ is closed to new replies.

 * ![](https://ps.w.org/amazon-s3-and-cloudfront/assets/icon-256x256.jpg?rev=1809890)
 * [WP Offload Media Lite for Amazon S3, DigitalOcean Spaces, and Google Cloud Storage](https://wordpress.org/plugins/amazon-s3-and-cloudfront/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amazon-s3-and-cloudfront/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amazon-s3-and-cloudfront/)
 * [Active Topics](https://wordpress.org/support/plugin/amazon-s3-and-cloudfront/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amazon-s3-and-cloudfront/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amazon-s3-and-cloudfront/reviews/)

## Tags

 * [SSL](https://wordpress.org/support/topic-tag/ssl/)

 * 4 replies
 * 2 participants
 * Last reply from: [ericr23](https://wordpress.org/support/users/ericr23/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/cant-force-url-to-be-http-not-https/#post-5574928)
 * Status: not resolved