回答編集履歴

2

追記

2019/11/06 01:25

投稿

kyoya0819
kyoya0819

スコア10429

test CHANGED
@@ -17,3 +17,31 @@
17
17
  ```
18
18
 
19
19
  こんな感じ?
20
+
21
+
22
+
23
+ ちなみに増やすならこんな感じ
24
+
25
+ ```.htaccess
26
+
27
+
28
+
29
+ RewriteEngine on
30
+
31
+
32
+
33
+ RewriteCond %{REQUEST_URI} ^.*/hoge.html$ [OR]
34
+
35
+ RewriteCond %{REQUEST_URI} ^.*/piyo.html$ [OR]
36
+
37
+ RewriteCond %{REQUEST_URI} ^.*/boe.html$ [OR]
38
+
39
+ RewriteCond %{REQUEST_URI} ^.*/pipi.html$ [OR]
40
+
41
+ RewriteCond %{REQUEST_URI} ^.*/chunchun.html$
42
+
43
+ RewriteRule ^(.*)$ http://www.test.jp/A/AA/index.html [L,R=301]
44
+
45
+
46
+
47
+ ```

1

追記

2019/11/06 01:24

投稿

kyoya0819
kyoya0819

スコア10429

test CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  RewriteCond %{REQUEST_URI} ^.*/piyo.html$
12
12
 
13
- RewriteRule ^(.*)$ http://www.test.jp/A/AA/index.html$1 [L,R=301]
13
+ RewriteRule ^(.*)$ http://www.test.jp/A/AA/index.html [L,R=301]
14
14
 
15
15
 
16
16