在.htaccess裡加上下面設定,強制轉成HTTPS
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
文章標籤

chingsoo 發表在 痞客邦 留言(0) 人氣(171)