WmZilla - Webmaster and Marketplace

The Next Generation Webmaster and Trade Forum

About HTTP to HTTPS Redirect

ImagjneAlex

New member

0

0%

Status

Offline

Posts

44

Likes

0

Rep

0

Bits

230

8

Months of Service

0%
The website's .htaccess file is as attached. The site has SSL installed, but it can be accessed via both http and https. I want to redirect http to https. I've tried a few methods, but even when it redirects to https, it displays the site's FTP files and the script doesn't work. RewriteEngine On RewriteCond %{REQUEST_URI} !^/public/ RewriteRule ^(.*)$ /public/$1 [L,QSA]
 

254

6,645

6,665

Top