回答編集履歴

1

コード修正

2019/06/24 09:13

投稿

rmrmnrm
rmrmnrm

スコア139

test CHANGED
@@ -4,8 +4,12 @@
4
4
 
5
5
  RewriteCond %{QUERY_STRING} ^id=60$
6
6
 
7
- RewriteRule /shop/shop.php /shop/shop_test.html? [NE,R=301,L]
7
+ RewriteRule shop/shop.php /shop/shop_test.html? [NE,R=301,L]
8
8
 
9
9
  ```
10
10
 
11
11
  末尾の?を削除するとパラメータを引き継ぎます
12
+
13
+
14
+
15
+ ※最初の/を削除しました。