Modificato 404 vecchie notizie con 410 Gone
This commit is contained in:
@@ -17,7 +17,7 @@ if (array_key_exists("id", $_GET)){
|
||||
// GUIHandler::redirect("articolo.php?id=".$notizia->id);
|
||||
}
|
||||
else {
|
||||
Header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found", true, 404);
|
||||
Header($_SERVER["SERVER_PROTOCOL"]." 410 Gone", true, 410);
|
||||
echo "Requested page not found";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user