Create a .htaccess file in your public_html folder and place in the following in that file:

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Retry and all pages should be forced to SSL https

這篇文章有幫助嗎? 1 用戶發現這個有用 (1 投票)