开发者

long url rewriting with htaccess

here is my url

http://www.mydomain.com/browse.php?type=3d&subtype=started&ref=foo

how an i convert this to...

http://www.开发者_StackOverflow社区mydomain.com/browse/3d/start/foo

i have seen many questions on stackoverflow but none have given and related ans to my prob...


RewriteRule ^browse/([^/]+)/([^/]+)/([^/]+)/?$ browse.php?type=$1&subtype=$2&ref=$3

I've left the trailing slash as optional.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜