XSERVERでhttpからhttpsに301リダイレクトする方法ITTwitterFacebookはてブLINE2021.02.25.htaccessに下記を追記する。RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]