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"); } }