Reputation: 1067
I have added SSL certificate to my website and check Use SSL to 'Yes' then after,I hit my website but its not moving to https.
Upvotes: 0
Views: 71
Reputation: 26
If you have SSL certificate installed and you do not see the https://
you can simply force your application from http://
to https://
simply by copy/paste the following code in your .htaccess
file:
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]
Upvotes: 1