开发者

How can we make use of query string in rewrite url using htaccess?

Actually I have a url abcd.html which is getting rewritten to abcd开发者_高级运维.php using .htaccess=.

Now I am passing a query string like abcd.html?id=100 and I would like to rewrite it to abcd.php?id=100.

How can I do that?


RewriteRule abcd.html\?id=(\d+)   abcd.php?id=$1
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜