【发布时间】:2016-06-21 08:04:13
【问题描述】:
嗨,我的网站网址是这样的
https://example.com/articleDesc.php?post=paleo-diet-what-is-it-and-why-is-it-so-popular
我想修改这个网址为
https://example.com/paleo-diet-what-is-it-and-why-is-it-so-popular
但我想使用这个查询字符串值来获取响应
提前致谢
【问题讨论】:
-
你能发布你尝试过的东西吗?
-
我在 RewriteRule 上尝试了这个 RewriteEngine ^articleDesc.php/(.*)/(.*)$ articleDesc.php/?post=$1 [QSA]