Page 1 of 1

How to enable https on all pages of a site

Posted: Fri Apr 21, 2017 2:13 pm
by postiffm
CMSMS 2.1.6, all latest module upgrades, and my host (a2hosting.com) has set up Lets Encrypt to make things easy.

I changed Site Admin | Settings - Content Manager | New Page Defaults tab | put "Yes" for "Is this page secure" about halfway down.

On each page's Options tab, I see the option Use HTTPS for this page is unchecked. How can I put a checkmark in this for every page in my hierarchy at one time?

Thank you

Re: How to enable https on all pages of a site

Posted: Fri Apr 21, 2017 2:29 pm
by Rolf
You don't have to...

Follow this tutorial:
https://www.cmscanbesimple.org/blog/set ... ade-simple

Re: How to enable https on all pages of a site

Posted: Fri Apr 21, 2017 2:53 pm
by postiffm
Thanks Rolf. My host suggested this change to .htaccess:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.yoursite.com/$1 [R,L]
</IfModule>

Is this equivalent to what you say in the tutorial, better, worse?

Thanks again.