$to) { if($from == $url) { header ('HTTP/1.1 301 Moved Permanently'); header("Location: ".$to); die(); } } include $SETTINGS["path"]["includes"]."dopage.inc.php"; ?>