Force site-wide HTTPS
Permalink 2 users found helpfulThanks,
Lars.
You need to enable the option to see invisible files (in your file manger | finder | explorer).
Hi, your .htaccess code for forcing SSL redirects will work
if a domain has the "www." in the url.
See also some code that is not supported anymore by mod_rewrite (php v7.xx)
Better is to hardcode the domain name in the .htacces file.
See:
https://www.concrete5.org/community/forums/customizing_c5/how-to-for...
Example .htaccess(.zip)
https://www.concrete5.org/download_file/-/99089/htaccess.zip...
Didn't test on php7.
Some handy site to test you htaccess:
http://htaccess.mwl.be/
Will be created when you enable clean/pretty urls.
Add the extra code: