2021-01-29, 08:31:58
There are two steps:
1. edit the .htaccess file:
2. Log in, and under the Website url settings add https:// instead of http://
1. edit the .htaccess file:
Code:
# Rewrite to HTTPS #
RewriteCond% {HTTP: X-Forwarded-Proto}! Https
RewriteCond% {HTTPS} off
RewriteRule ^ https: //% {HTTP_HOST}% {REQUEST_URI} [L, R = 301]
# End Rewrite to HTTPS #
2. Log in, and under the Website url settings add https:// instead of http://