ssl http 自動轉址 https http 自動轉址 https 使用說明: .htaccess 直接上傳到網站的根目錄底下即可自動轉址 .htaccess 文件檔案的內容如下: RewriteEngine on RewriteBase / RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]