Redirect to a secure connection
You can force your site to redirect to its secure URL (https) by creating a configuration file and adding some code to it.
Create or edit your .htaccess file (located in the public_html
folder) and add the following lines:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]