rimpiazzato redirect dei vecchi articoli con un 301
This commit is contained in:
@@ -11,7 +11,10 @@ if (array_key_exists("id", $_GET)){
|
||||
$notizia = $notizia = GlobalVariables::get("dao")->getFirst("NotiziaModel",array("oldId"=>$id));
|
||||
|
||||
if (!is_null($notizia)){
|
||||
GUIHandler::redirect("articolo.php?id=".$notizia->id);
|
||||
Header( "HTTP/1.1 301 Moved Permanently" );
|
||||
Header( "Location: http://www.ifattidinapoli.it/articolo.php?id=".$notizia->id );
|
||||
|
||||
// GUIHandler::redirect("articolo.php?id=".$notizia->id);
|
||||
}
|
||||
else {
|
||||
echo "asd";
|
||||
|
||||
Reference in New Issue
Block a user