You may want to redirect users of your website directly to SSL URL when they browse your domain without SSL (https) like or

You can do it via simply adding below rewrite rules from .htaccess file of your domain. Below is the sample code:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

You can do the same via below code also:

Redirect permanent /