redirect to https doesn't work (unless..)
-
Hi,
I switched my whole site to https. I have a redirect to https in .htaccess.RewriteCond %{HTTPS} !=on RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
I first had put this code in the # BEGIN WordPress block after “RewriteEngine On”. When Cachify is activated (HDD cache), I can still access the site with http.
I figured out that I had to add the above code already in the cachify htaccess code block, right after “RewriteEngine On”. Then it works.
This may be obvious to experts but maybe not to beginners that follow instructions from the web.
Maybe this information can help others with the same problem.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘redirect to https doesn't work (unless..)’ is closed to new replies.