こんにちは!みぞれ(@xxmiz0rexx)です。このたびWordPressを利用している場合の.htaccessの書き方でつまづきましたので解決法をメモしておきますφ(・ω・ )メモメモ サイトをSSL化したら、.htaccessでリダイレクトしよう! SSL化したてだと、他サイトや検索サイトからのリンクが『http:〜』になっていることが多いと思います。そんなときは.htaccessに以下の記述をすると『https://〜』の正しいURLにリダイレクトしてくれるので便利です。 .htaccess RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R,L] ただし、WordPressを使っている場合は要注意 随分前に、友達と運営しているフリー写真