Force my Website to use SSL

To force a specific domain to use HTTPS, use the following lines of code in the .htaccess file in your website’s root folder:

RewriteCond %{HTTP_HOST} ^sitedomaingoeshere\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.sitedomaingoeshere\.com$
RewriteRule ^/?$ "https\:\/\/sitedomaingoeshere\.com\/" [R=301,L]