Organizational Research By

Surprising Reserch Topic

.htaccess redirect http to https

I have an old url ( and I would like to redirect it to
I have implemented and installed our SSL certificate on my site.
This is my old file .htaccess:

RewriteEngine On
RewriteRule !\.(js|gif|jpg|png|css|txt)$ public/index.php [L]
RewriteCond %{REQUEST_URI} !^/public/
RewriteRule ^(.*)$ public/$1 [L]
How can I configure my .htaccess file so that url auto redirect to https?
asked May 20, 2015 in htaccess by rahulgii
0 votes

Related Hot Questions

Government Jobs Opening