I have a weird problem that when I set the site address and wordpress address to https (within settings > General) I'm receiving a redirect loop when accessing the wp-admin and no css/js etc on the front end (with the error This request has been blocked; the content must be served over HTTPS.)
Is there something I'm doing wrong?
I've tried redirecting to https with htaccess:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.yoursite.com/$1 [R,L]
</IfModule>
as well as various plugins but keep getting the redirect loop issue!
Update
I've tried:
RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
and still getting a redirect loop!
Cheers.