User Tools

Site Tools


This is an old revision of the document!

This tutorial doesn't explain all about the HTTPS, SSL or TLS protocols, this is something you have to research on your own and discuss with your host to have them enable it for you. Once you have it enabled on your server then you can use the HTTPS protocol for your Etano site.

In order for HTTPS to work with the Etano script you need to do the following:

Open your includes/ file and look for this line:

define('_BASEURL_','');// protocol required (http:// )

And change the http to https

Open your .htaccess file and add the following:

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*)$1 [R,L]

This forces the HTTPS protocol to be used when visitors try to use http, and if they also type in, they will also end up at

NOTE - if you happen to be using code in your .htaccess to force the WWW prefix in your URL, such as:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^ [NC]
RewriteRule ^(.*)$$1 [R=301,L]

You should probably remove it as having 2 different URL rewrites could potentially conflict with each other.

https_ssl_tls.1463739766.txt.gz · Last modified: 2016/05/20 05:22 by admin