回答編集履歴
2
追記
answer
CHANGED
|
@@ -7,4 +7,18 @@
|
|
|
7
7
|
RewriteRule ^(.*)$ http://www.test.jp/A/AA/index.html [L,R=301]
|
|
8
8
|
|
|
9
9
|
```
|
|
10
|
-
こんな感じ?
|
|
10
|
+
こんな感じ?
|
|
11
|
+
|
|
12
|
+
ちなみに増やすならこんな感じ
|
|
13
|
+
```.htaccess
|
|
14
|
+
|
|
15
|
+
RewriteEngine on
|
|
16
|
+
|
|
17
|
+
RewriteCond %{REQUEST_URI} ^.*/hoge.html$ [OR]
|
|
18
|
+
RewriteCond %{REQUEST_URI} ^.*/piyo.html$ [OR]
|
|
19
|
+
RewriteCond %{REQUEST_URI} ^.*/boe.html$ [OR]
|
|
20
|
+
RewriteCond %{REQUEST_URI} ^.*/pipi.html$ [OR]
|
|
21
|
+
RewriteCond %{REQUEST_URI} ^.*/chunchun.html$
|
|
22
|
+
RewriteRule ^(.*)$ http://www.test.jp/A/AA/index.html [L,R=301]
|
|
23
|
+
|
|
24
|
+
```
|
1
追記
answer
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
RewriteCond %{REQUEST_URI} ^.*/hoge.html$ [OR]
|
|
6
6
|
RewriteCond %{REQUEST_URI} ^.*/piyo.html$
|
|
7
|
-
RewriteRule ^(.*)$ http://www.test.jp/A/AA/index.html
|
|
7
|
+
RewriteRule ^(.*)$ http://www.test.jp/A/AA/index.html [L,R=301]
|
|
8
8
|
|
|
9
9
|
```
|
|
10
10
|
こんな感じ?
|