From dd4769c81d555133b0b9645dce94a22ad719a470 Mon Sep 17 00:00:00 2001 From: Riccardo Di Dato Date: Fri, 20 May 2016 19:58:49 +0200 Subject: [PATCH] Modificato 404 vecchie notizie con 410 Gone --- public/oldArticleRedirect.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/oldArticleRedirect.php b/public/oldArticleRedirect.php index 910894c..2be010d 100644 --- a/public/oldArticleRedirect.php +++ b/public/oldArticleRedirect.php @@ -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"; } }