【发布时间】:2017-03-11 07:13:52
【问题描述】:
我们已从旧系统迁移到新网站。我有很多看起来像这样的旧网址:
/index.php?id=1&groep=26
/site/index.php?id=1&groep=10
新网址的样子:
/medical-information/test-results
没有重写这些 URL 的模式,每个都必须手动完成。
如何使用 NGINX 重定向这些内容?似乎与 index.php 部分之后的查询字符串不匹配。
非常感谢!
【问题讨论】: