AnsweredAssumed Answered

Unable to force SSL

Question asked by Scott Parkis on Oct 10, 2014
Latest reply on Nov 2, 2015 by jsmith
I have been stuck with getting the site to default to SSL. I have tried

Both is these but neither work - I can access the site via HTTP and I can manually access HTTPS if I type it in - so SSL is configured correctly - Any insight would be appreciated.
RewriteEngine On
RewriteCond
%{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

=======================================================

RewriteEngine on
# Force SSL on entire Site
RewriteBase /
RewriteCond %{ENV:HTTPS} !on [NC]
RewriteRule ^/?page/(.*)
https://%site.domain.com/page/$1 [R,L]

Thanks - Scott

Outcomes