Problem:
How to force https on entire website.
Solution:
Use the .htaccess file. Edit the .htaccess file and add these lines.
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://domain.com/$1 [R,L]
Note: Substitute domain.com with your website name.