.htaccess - Force HTTPS on entire site? -
this question has been asked before can't find solution works me.
basically have site, , want force on https, did through cloudflare's page rules , tried using .htaccess.
but, site doesn't load images/css. don't want go through every single file/script replace "example.jpg" "https://domain.com/example.jpg".
last time wouldn't let me log in. jcow site, if matters.
thanks, -gie
try .htaccess:
rewriteengine on rewritecond %{https} off rewriterule .* https://%{http_host}%{request_uri}
Comments
Post a Comment