htaccess
htaccessのリダイレクト処理するため調べたメモになります。 #①Options +FollowSymLinksRewriteEngine on #②RewriteCond %{HTTP_HOST} ^test.com$RewriteRule ^(.*)$ http://www.test.com/$1 [R=301,L] #③RewriteCond %{HTTPS} offRewriteRule ^(.*)$ https:…
htaccessのリダイレクト処理するため調べたメモになります。 #①Options +FollowSymLinksRewriteEngine on #②RewriteCond %{HTTP_HOST} ^test.com$RewriteRule ^(.*)$ http://www.test.com/$1 [R=301,L] #③RewriteCond %{HTTPS} offRewriteRule ^(.*)$ https:…