Enter Url:   
Sorry url not found!"; } else { preg_match("#HTTP.*? (\\d+) #i",$c,$code); $code = @$code[1]; preg_match("#Location:(.*)$#mi",$c,$location); $location = trim(@$location[1]); echo "
"; if($code==301) { echo "This website has a 301 Redirect to:
$location

This redirect is Search Engine Friendly."; } elseif($code==302) { echo "This website returned a 302 which is either not search engine friendly or a redirect."; } else { echo "This website returned a $code which is search engine friendly."; } } } ?>