WP Offload S3 Lite
FORCE_SSL_ADMIN Breaks Virtual Hosting Option (1 post)

  1. Raam Dev
    Posted 2 years ago #

    If you're using define('FORCE_SSL_ADMIN', true); in your wp-config.php file, which forces all WordPress admin logins to be redirected to the protected https:// URL, and you have the "Bucket is setup for virtual hosting" option enabled in the Amazon S3 and Cloudfront plugin, then whenever you upload a file via the Media Uploader the File URL gets incorrectly stored with an https:// prefix.

    This should only happen when the "Always serve files over https (SSL) " option is also enabled, but it happens even when that option is disabled.

    Since I don't have SSL setup for my Amazon S3 virtual host (cdn.raamdev.com), all file URLs end up broken becuase the plugin stores the links as https://cdn.raamdev.com/....


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Offload S3 Lite
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.