fetchOneCell()) { $url = preg_replace('@/+$@', '', $url); if($path) { redirect("http://$url/$path"); } else { redirect("http://$url"); } exit(); } // si on est ici, il y a eu un erreur ou on n'a pas trouvé le redirect header("HTTP/1.0 404 Not Found"); ?>