February 26th, 2014, 03:02 PM
Web.config Redirect rule with query string
Can anyone tell me the best way to create a redirect with a query string (Question mark) in the forward to address
Here's my code
<rule name="redirect_rule1" stopProcessing="true">
<match url="on-demand-candidates" />
<action type="Redirect" url="something.com?cg=cn&l=en_US" />
When I redirect to that address I get a 500 internal server error.
If I remove the ? It will attempt to redirect but I need the ? mark to be in the url.