Inserito redirect in home per notizie che non esistono più

This commit is contained in:
Riccardo Di Dato
2016-05-20 19:49:48 +02:00
parent fa6f4d349a
commit 5f1d87a639
+2 -1
View File
@@ -17,7 +17,8 @@ if (array_key_exists("id", $_GET)){
// GUIHandler::redirect("articolo.php?id=".$notizia->id);
}
else {
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found", true, 404);
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://www.ifattidinapoli.it");
}
}