ImagjneAlex
New member
0
0%
4
Months of Service
0%
The website's .htaccess file is as attached. The site has SSL installed, but both HTTP and HTTPS access are available. How can I redirect HTTP to HTTPS even if someone accesses using HTTP? I have tried a few methods, but even if it redirects to HTTPS, the site still shows the FTP files and the script doesn't work. Therefore, the code to achieve this is: RewriteEngine On RewriteCond %{REQUEST_URI} !^/public/ RewriteRule ^(.*)$ /public/$1 [L,QSA]