title: Redirect the WordPress plugin after submitting button is clicked
body: <p>I created a WordPress registration plugin, what i want is when the user is successfully registered, redirect him/her to a Thank you page</p>
  
  <p>Here is my button code.</p>
  
  <pre><code>&lt;?php
  if(isset($_REQUEST['submit']))
  {
  header("location.href="http://www.getgometro.com/thank-you/");
  
  wp_redirect( 'http://www.getgometro.com/thank-you/' );
  exit;
  
  wp_redirect("/www.getgometro.com/thank-you/", 303);
  }  
  ?&gt;
  </code></pre>
  
  <p>None of the above is working</p>