Knowledge Base
Forcing HTTPS on your website
Once SSL works, send visitors to the secure version of your site.
WordPress
Change the WordPress Address and Site Address to https:// in Settings › General. A plugin such as Really Simple SSL can do the rest.
Any site
In DirectAdmin's Domain Setup you can turn on the option to force SSL with a redirect. Or add this to the .htaccess file in public_html:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Back up your .htaccess before editing it. A mistake can take the site offline.