Quote:
Originally Posted by EN1GMA
Hello guys,
Can someone give me a little help with my htaccess file?
I installed SSL in my site and now I'm having some problems adding a code to redirect from http:// to https://
The code is fine:
Code:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
The problem is that I'm using W3 Total Cache plugin and I think is causing conflict.
I need someone to give a look to my .htaccess file.
Please add me on Skype: timoteoluis
Help! 
|
Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^YOURDOMAIN\.COM$ [NC,OR]
RewriteCond %{HTTPS} =off
RewriteRule ^(.*)$ https://YOURDOMAIN.COM/$1 [R=301,L]