通配符跳转目标页
/rules-test/new/hello.html
请求 /rules-test/old/hello.html 被 301 到了这里,说明通配符 $1 捕获到了 hello。
把旧地址里的 hello 换成别的名字,就会跳到对应的 /rules-test/new/那个名字.html。
通配符跳转目标页
请求 /rules-test/old/hello.html 被 301 到了这里,说明通配符 $1 捕获到了 hello。
把旧地址里的 hello 换成别的名字,就会跳到对应的 /rules-test/new/那个名字.html。