WordPressの参考情報? 【https リダイレクト】 リダイレクト元のドキュメントルートに設置 .htaccess への記述追加 https://help.sakura.ad.jp/206054622/#12
<IfModule mod_rewrite.c>~ RewriteEngine On~ RewriteCond %{HTTPS} off~ RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]~ </IfModule>~