Forcing HTTPS / W3 Total Cache
-
We are trying to force all users to HTTPS.
The code that is inserted into .htaccess is
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]When we put it at the top of the .htaccess forcing does not work. Only if it is put at the end of the file.
The second annoyance is that when we run compatibility test inside W3TC the .htaccess file is overwritten by plugin. Whatever we have included into the file is lost.
Is there any other more correct way to force HTTPS and that solution is fully compatible with W3TC?
The topic ‘Forcing HTTPS / W3 Total Cache’ is closed to new replies.