I'm kinda new to this so bear with me. I just finished setting up SSL on my website. The problem is that if the user types www.mydomain.com into their browser, it doesn't connect securely with HTTPS.However, if I type https://www.mydomain.com then it works just fine, and continues to work on subsequent pages, so I know SSL is working.  My question is: how would I set the website so that users connect using SSL by default?My first thought was to just redirect to the HTTPS version of the page, but that would mean I would have to put a redirect on every page in case the user doesn't come in via the landing page.
Website doesn't default to HTTPS
301 redirect;https
Assuming you are using Apache, you can place the following snippet in the .htaccess file in your root directory:RewriteEngine OnRewriteCond %{SERVER_PORT} 80RewriteRule ^(.*)$ https://example.com/$1 [R=301,L]