質問編集履歴
1
htaccess について実際記述したものと違ったので修正しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -38,9 +38,9 @@
|
|
38
38
|
|
39
39
|
|
40
40
|
|
41
|
-
RewriteCond %{HTTP_HOST}
|
41
|
+
RewriteCond %{HTTP_HOST} ^www.
|
42
42
|
|
43
|
-
RewriteRule ^(.*)$ https://
|
43
|
+
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
|
44
44
|
|
45
45
|
|
46
46
|
|
@@ -96,9 +96,9 @@
|
|
96
96
|
|
97
97
|
|
98
98
|
|
99
|
-
RewriteCond %{HTTP_HOST}
|
99
|
+
RewriteCond %{HTTP_HOST} ^www.
|
100
100
|
|
101
|
-
RewriteRule ^(.*)$ https://
|
101
|
+
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
|
102
102
|
|
103
103
|
|
104
104
|
|