I'm having issues forcing an SSL on my website. I think the issue may be that my root folder is my 'web' folder.
I've searched online and tried a few variations of htaccess but none of them seem to work.
Here is the latest I've tried:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# Send would-be 404 requests to Craft
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/(favicon\.ico|apple-touch-icon.*\.png)$ [NC]
RewriteRule (.+) index.php?p=$1 [QSA,L]
</IfModule>
My domain points to my web folder and my htaccess belongs in the web folder.
Thanks,
Joe