mywebsite.com/couch/login.php?redirect=%2Fcontact.php If that's not it, then please post the code for contact.php and for the link to .