1.24K viewsLinux
0

www.example.com/test/*.pdf 跳转到www.itkylin.com/test/*.pdf
只需要跳转test目录下的文件,其它目录不变,请教.htaccess怎么写?

0

RewriteRule ^test/(.*)$ https://www.itkylin.com/test/$1 [L,R=301]

问题状态

  • Active
  • Views1244 times
  • Answers1 answer