Support » Plugin: WP Offload S3 Lite » FORCE_SSL_ADMIN Breaks Virtual Hosting Option

  • 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 (, all file URLs end up broken becuase the plugin stores the links as

  • The topic ‘FORCE_SSL_ADMIN Breaks Virtual Hosting Option’ is closed to new replies.