Modificato 404 vecchie notizie con 410 Gone

This commit is contained in:
Riccardo Di Dato
2016-05-20 19:58:49 +02:00
parent 54bd37dcfb
commit dd4769c81d
+1 -1
View File
@@ -17,7 +17,7 @@ if (array_key_exists("id", $_GET)){
// GUIHandler::redirect("articolo.php?id=".$notizia->id); // GUIHandler::redirect("articolo.php?id=".$notizia->id);
} }
else { else {
Header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found", true, 404); Header($_SERVER["SERVER_PROTOCOL"]." 410 Gone", true, 410);
echo "Requested page not found"; echo "Requested page not found";
} }
} }