How to forward http to https with .htaccess file
Image from https://www.serif.net/serif-news/title/Should-you-run-your-website-securely-on-https-with-an-SSL-certificate/post/11147

Log into your hosting where you edit your files (Below is instructions for linux based hosting with a wordpress installation)

Find and Open your .htaccess file

Between this statement

<IfModule mod_rewrite.c>

..

</IfModule>

Add these three lines of code (if any of theses lines appear don’t re add them)

RewriteEngine On

RewriteCond %{SERVER_PORT} 80

RewriteRule ^(.*)$ https://example.com/$1 [R=301,L]

Change https://example.com/ to your website domain

Open your page in private browsing htttp should forward to https

Hope this solution worked for you

Please get in contact if you require assistance.

CodeCloudServices.com
[]
['Website Security', 'Http Request', 'Https', 'Website', 'Http2']