开发者

IIS 7 URL Rewrite doesn't work if the url has a question mark in it

I'm using the URL rewrite feature of IIS7

I'm trying redirect a URL like this

example.com/?parameter=abc 

to a URL like this

example.com/somedirectory

the URL redirect works we开发者_开发技巧ll if the source URL doesn't contain a question mark in it.

pls help

-Vivek


IIS7 redirects don't by default match query strings in the pattern so you have to add a condition as well as the pattern with {QUERY_STRING} matches the pattern parameter=abc

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜