RewriteRule ^(.*)$ public/$1 [L]
How to redirect this (My site lies in subfolder)
How to redirect all the routes to be https ?
is this ok
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>