 <p>The problem is that you're trying to encode the whole URL. The only pieces you want to encode are the querystring <em>values</em>, and you can just use <code>Url.Encode()</code> for this.</p> <p>You don't want to encode the address, the querystring params, or the <code>?</code> and <code>&amp;</code> delimiters, otherwise you'll end up with an address the browser can't parse.</p> <p>Ultimately, it would look something like this:</p> <pre><code>&lt;a href="https://www.notmysite.co.uk/controller/action?order_ID=@Url.Encode(Model.bookingNumber)&amp;hashComparator=@Url.Encode(Model.hashCode)"&gt;Click Here to be transferred&lt;/a&gt; </code></pre>