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

前端 未结 1 1066
你的背包
你的背包 2021-01-20 17:15

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

相关标签:
1条回答
  • 2021-01-20 17:37

    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 讨论(0)
提交回复
热议问题