"/path/newname.php", "/old_path/oldname.php"=>"/new_path/newname.php"); if(array_key_exists($request,$arrMoved)) { $newplace="http://".$_SERVER['HTTP_HOST'].$arrMoved[$request]; header("HTTP/1.0 301 Moved Permanently"); header("Location: $newplace"); header("Connection: close"); exit(); } else { header("HTTP/1.0 404 Not Found"); } ?> 404 Error page

Sorry but this page isn't here.