Create a file in the directory of your website called .htaccess

if the file exists simply open it up and add the following code to the bottom of the file, creating a couple spaced from existing code using the enter key.

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Save the .htaccess file and try to access your website. It should redirect to the https version of the website if a valid SSL certificate is installed on your web hosting.