Tuesday, February 20, 2018

How to Force SSL on your domain.com









To force SSL on your domain name, edit or create a file called ".htaccess" and put in the public_html directory.  (there may be one there already!)  You'll need to use a text editor such as notepad or some equivalent.

Put this in it:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]


This makes it a friendly seo method of redirecting any non-ssl urls to use ssl.

Can't seem to get the green https due to mixed content?






Visit this url to have a scan done on your website to show you what you have going on.  Usually it is 'mixed' content.  Some content not being loaded in https such as images.

https://www.whynopadlock.com/


Got WordPress SSL woes?


















Try one of these two plugins to "auto fix" your mixed content issues with previously built wordpress installations that are now using https.

Really Simple SSL
https://wordpress.org/plugins/really-simple-ssl/

SSL Insecure Content Fixer
https://wordpress.org/plugins/ssl-insecure-content-fixer/