WordPress, .htaccess httpからhttpsに.htaccessを使ってリダイレクトさせる controlbox6月 5, 20196月 5, 2019 httpからhttpsへリダイレクトするには.htaccessに下記を追加 評価を引き継ぐ必要がある場合は、下記のように301リダイレクトさせるようにします。 .htaccess PHP RewriteEngine on RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://example.com/$1 [R=301,L] 123 RewriteEngine onRewriteCond %{HTTPS} offRewriteRule ^(.*)$ https://example.com/$1 [R=301,L]