.htaccess の設定
【 http: → https: 】
RewriteEngine on
RewriteCond %{SERVER_PORT} !^443$
RewriteRule (.*)?$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R]
【 https: → http: 】
RewriteEngine on
RewriteCond %{SERVER_PORT} ^443$
RewriteRule (.*)?$ http://%{HTTP_HOST}%{REQUEST_URI} [L,R]
| 固定リンク

