if($_SERVER["HTTP_HOST"]=="www.earthmatters4kids.com"){ header("Location: http://earthmatters4kids.org/main.html"); exit; } else if($_SERVER["HTTP_HOST"]=="earthmatters4kids.com"){ header("Location: http://earthmatters4kids.org/main.html"); exit; } ?>