From d32afc5d3717aa3240e39dda47a29948ef2ee8c3 Mon Sep 17 00:00:00 2001 From: Riccardo Di Dato Date: Fri, 20 May 2016 19:53:31 +0200 Subject: [PATCH] Test fail redirect --- public/oldArticleRedirect.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/oldArticleRedirect.php b/public/oldArticleRedirect.php index 70416d9..cee0a6e 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( "HTTP/1.1 301 Moved Permanently" ); + header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found", true, 404); Header( "Location: http://www.ifattidinapoli.it"); } }