$pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; $pos = strpos($pageURL, "www."); if ($pos === false){ $destination = "http://www.elevate-group.com/index.html"; header("Location: $destination"); } ?>