質問編集履歴
1
転送にあたって試したところを修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -78,7 +78,7 @@
|
|
78
78
|
|
79
79
|
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
|
80
80
|
|
81
|
-
RewriteCond %{HTTP_HOST} ^(old\.com)(:80)? [NC]
|
81
|
+
RewriteCond %{HTTP_HOST} ^(subdomain\.old\.com)(:80)? [NC]
|
82
82
|
|
83
83
|
RewriteRule ^(.*) https://new.jp/$1 [R=301,L]
|
84
84
|
|