How automatically to redirect your website to https:// using .htaccess
Have you installed SSL On your website? We know that now you are eager to get it automatically redirected to the secured version of your website.
Go to your file manager > public_html > Click "Settings" > Click "Show Hidden .files"
Now create look for ".htaccess" file. If I does not exists create a new file and name it ".htaccess"
Now paste the code bellow
RewriteEngine on
# Force HTTPS
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=307,NE,L]