title: 'wp_redirect' is not working
body: <p>There is an HTML form input. Here's the code:</p>
  
  <pre><code>&lt;?php if(isset($_POST['login'])) { 
      wp_redirect("/"); 
  }
  
  &lt;form accept-charset="UTF-8" method="post" &gt;
      ...
      &lt;center&gt;&lt;input name="login" type="submit" value="вход" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>But redirect doesn't work. Install debug plugin redirects to wp, that's what it showed.</p>
  
  <p><a href="http://i.stack.imgur.com/Im4eE.png">http://i.stack.imgur.com/Im4eE.png</a></p>
  
  <p>PS: </p>
  
  <pre><code>&lt;?php wp_redirect( 'http://www.example.com', 301 ); exit; ?&gt;
  </code></pre>
  
  <p>It does not work either.</p>