【发布时间】:2013-12-18 13:20:57
【问题描述】:
example.com/index.php?route=pavblog/blogs&id=$2
我需要将此网址加载到
example.com/blogs/blogname
我在 .htaccess 中尝试过这样的:
RewriteRule ^blogs/(.*) index.php?route=pavblog/blogs&id=$2
但它不起作用。
【问题讨论】:
-
为什么 2 在 $2 ?为什么不是 1 美元?