User Tools

Site Tools


https_ssl_tls

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
https_ssl_tls [2016/05/20 05:22]
admin created
https_ssl_tls [2016/05/20 12:00]
admin
Line 7: Line 7:
 And change the http to **https** And change the http to **https**
  
-Open your .htaccess file and add the following:+Open your **.htaccess** file and add the following:
 >><​code>​RewriteEngine On >><​code>​RewriteEngine On
 RewriteCond %{HTTPS} !=on RewriteCond %{HTTPS} !=on
Line 18: Line 18:
 RewriteRule ^(.*)$ http://​www.yoursite.com/​$1 [R=301,​L]</​code>​ RewriteRule ^(.*)$ http://​www.yoursite.com/​$1 [R=301,​L]</​code>​
 You should probably remove it as having 2 different URL rewrites could potentially conflict with each other. You should probably remove it as having 2 different URL rewrites could potentially conflict with each other.
 +
 +
 +For more info also see: [[the_.htaccess_file|The .htaccess File]]
https_ssl_tls.txt ยท Last modified: 2016/05/21 06:20 by admin