• Register

http does not change to Https

0 votes
617 views
I was ready on your Web site what is SSL,  in the try it section where its mentioned that click on lod in button the http will change to https,

it DOES NOT CHANGED :(

its still http and  also i cant see any pad lock icon some where on the page so how it would be safe?

 

Thanks
asked May 15, 2013 in General by anonymous
    

1 Answer

0 votes

If you have a secure certificate (SSL) on your website, you can automatically redirect visitors to the secured (HTTPS) version of your website to make sure their information is protected.

 

Using the following code in your .htaccess file automatically redirects visitors to the HTTPS version of your site:

RewriteEngine On

RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

If you have an existing .htaccess file:

    1) Do not duplicate RewriteEngine On.

    2) Make sure the lines beginning RewriteCond and RewriteRule immediately follow the already-existing RewriteEngine On.

More info about What is SSL 

answered Oct 20, 2015 by vglann (180 points)

Related questions

+2 votes
3 answers 5,549 views
0 votes
1 answer 1,146 views
1,146 views asked May 7, 2014 in General by anonymous
0 votes
1 answer 1,851 views
...