ZORANVEDEK Posted November 25, 2020 Share Posted November 25, 2020 I have tried multiple ways to get this to work, I have placed the code above the commented lines, below the commented lines, inside the commented lines, all I get when I do so is a 404. This is driving me nuts... ...I know it can't be this difficult to force a secure connection on Prestashop, so I've got to be missing something obvious here. Where should I put this code inside of the .htaccess file in order to get this site secure while at the same time not completely shutting down Prestashop? RewriteEngine On RewriteCond %{HTTP_HOST} mysite\.com [NC] RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.mysite.com/$1 [R,L] Link to comment Share on other sites More sharing options...
ZORANVEDEK Posted November 25, 2020 Author Share Posted November 25, 2020 Okay I got it working by forcing Prestashop to regenerate the file, and then adding my code. ...still not showing as secure, but that's an entire other issue. 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