To ensure the connection between your visitors and your website is secure, you should redirect them to the secure version of the site.
This can be easily completed by updating the .htaccess file in your website’s public_html
folder (domains/yourdomain.com/public_html
).
# Redirect to https
<If "%{HTTPS} == 'off'">
RedirectMatch "^/(.*)" "https://yourdomain.com/$1"
</If>