Ver original$a=true;if($a){header('Location: http://www.example.com/');}else{header('Location: http://www.otroexample.com/');}