How To Make Your WordPress Website Always Use HTTPS

If you had trouble making your website always use secure connection then do the following.

Only use this step if you already have https version of your website working.

Step 1. Test your site by changing http to https in the url.

If you do have https working then continue onto the next step.

Step 2. In your .htaccess (hidden) file in your root folder of your website add the following lines to the top of the file:

RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]

Thanks to DreamHost Support for the assist.