title: How do I force a redirect with a parameter?
body: <p>I have a parameter value which I have to URL encode. Therefore my understanding is that it must be sent as a query string on the end of the URL rather than part of the main URL. I have successfully tested this by directly pasting the URL into the browser.</p>
  
  <p>I am trying to redirect to a URL of:</p>
  
  <p><code>Server/Application/Area/Controller/Action/?id=xyz</code></p>
  
  <p>But when I use</p>
  
  <p><code>return RedirectToAction("Action", "Controller", new { area = "Area", id = Url.Encode(uniqueId) });</code></p>
  
  <p>I am sent to</p>
  
  <p><code>Server/Application/Area/Controller/Action/xyz</code></p>
  
  <p>How do I stop this happening?</p>