title: redirect_to hidden form field on Wordpress
body: <p>I'm trying to understand how the <code>redirect_to</code> hidden form field works (on Wordpress), as in </p>
  
  <p><code>&lt;input type="hidden" name="redirect_to" value="http://www.mydomain.com/thank-you" \&gt;</code></p>
  
  <p>Will it redirect to that value no matter what, or do I need to write some code including <code>wp_redirect()</code> code somewhere?</p>
  
  <p>The reason I'm asking is: I have two forms, one with a <code>redirect_to</code> value to a page on my own site and one with a <code>redirect_to</code> pointing to an external domain. While the first works fine, the latter does not. It always takes me back to my front page. Thus, I'm trying to debug that problem.</p>
  
  <p>Thank you for your help!</p>