Jump to content

Force SSL in htaccess


Recommended Posts

Currently I have a an htaccess with this at the top:

 

RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.clearsolid.com$
RewriteRule . - [E=REWRITEBASE:/]
RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]

I tried replacing it with but 
 
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ http://www.clearsolid.com$1 [R,L]
 
 
But I get:
 
"This webpage has a redirect loop"
 
How do I force SSL on either all pages or at least my checkout page?
Edited by ClearSolid (see edit history)
Link to comment
Share on other sites

Same problem here.  You're not going to find help unless you pay prestashop for support.  They don't really support their product unless you give them money, and these mods don't seem to know anything but how to post links to other forum entries.

Link to comment
Share on other sites

  • 6 months later...
×
×
  • Create New...