I created a WordPress registration plugin, what i want is when the user is successfully registered, redirect him/her to a Thank you page
Here is my button code.
<?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);
}
?>
None of the above is working