开发者

long url rewriting with htaccess

开发者 https://www.devze.com 2022-12-16 02:45 出处:网络
here is my url http://www.mydomain.com/browse.php?type=3d&subtype=started&ref=foo how an i convert this to...

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

精彩评论

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