What exactly you are after is unclear to me.
What does this mean:
1. How do I get it to read the 2nd statement?
Usually by not make the 1st statement CONDITIONAL,
that is NOT using 'if'
- Making the 1st statement only accepting one variable in the url?
???[/b]
And just because BOTH are set,
we can not even be sure ARE VALID LINKS
<?php
$name=isset($_GET['name']) ? $_GET['name'] : false;
$url =isset($_GET['url']) ? $_GET['url'] : false;
if( $url && $name )
echo 'I am confused. Dont know where to go ..';
elseif( $url )
header('Location: '.$url );
elseif ( $name )
header('Location: http://'.$name.'.com/' );
else
echo 'Must Stay here! :(';
exit();
?>