juanmlg Posted December 1, 2017 Share Posted December 1, 2017 Hello, I am using prestashop 1.5.3 (I know its a bit old, I hope to update it soon), I have installed a SSL certificate to run in homepage and in forms pages (I am running multistore and I only want to use SSL in one store "mystore1" ) So the certificate is working well, I can see the locks if I browse to https://www.mystore1.com and all load ok, but the problem is that there is no redirection to https when I browse to www.mystore1.com or mystore1.com. I have mod_rewrite ON and have regenerate the htaccess a few times. This is my htaccess : <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP_HOST} ^www.mystore1.com$ RewriteRule . - [E=REWRITEBASE:/] RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] RewriteCond %{HTTP_HOST} ^mystore2.es$ RewriteRule . - [E=REWRITEBASE:/] RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] Please, can you help me to redirect www.mystore1.com and mystore1.com to https://www.mystore1.com Thanks so much!! Link to comment Share on other sites More sharing options...
SmartPlugs Posted January 21, 2018 Share Posted January 21, 2018 Hi Juanmlg, Late answer but in case you can try to test the redirect just setting the "ssl" atrribute to true in /classes/FrontController.php (this is not THE solution but it may work). Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now