質問編集履歴

1

アドレスを変更しました。

2017/07/20 09:42

投稿

alitomo
alitomo

スコア41

test CHANGED
File without changes
test CHANGED
@@ -10,11 +10,11 @@
10
10
 
11
11
  質問1:
12
12
 
13
- mellow-dress.shop
13
+ hoge.shop
14
14
 
15
15
  の階層以下を
16
16
 
17
- https://www.mellow-dress.shop
17
+ https://www.hoge.shop
18
18
 
19
19
  にリダイレクトしたい。
20
20
 
@@ -38,11 +38,11 @@
38
38
 
39
39
  RewriteEngine on
40
40
 
41
- RewriteCond %{HTTP_HOST} ^mellow-dress\.shop
41
+ RewriteCond %{HTTP_HOST} ^hoge\.shop
42
42
 
43
43
  RewriteCond %{SERVER_PORT} 80
44
44
 
45
- RewriteRule ^(.*)$ http://www.mellow-dress.shop/$1 [R=301,L]
45
+ RewriteRule ^(.*)$ http://www.hoge.shop/$1 [R=301,L]
46
46
 
47
47
  RewriteCond %{SERVER_PORT} 80
48
48
 
@@ -54,15 +54,15 @@
54
54
 
55
55
  と設定した所
56
56
 
57
- mellow-dress.shop
57
+ hoge.shop
58
58
 
59
59
  は上手く
60
60
 
61
- https://www.mellow-dress.shop
61
+ https://www.hoge.shop
62
62
 
63
63
  にリダイレクトするのですが、
64
64
 
65
- mellow-dress.shop/test
65
+ hoge.shop/test
66
66
 
67
67
  等のサブディレクトリでは上手く行きませんでした。
68
68