if($_GET['path']){ header("Location: http://www.latin.it/autore" . $_GET['path']); exit(0); } else{ header("Location: http://www.latin.it/"); exit(0); }