The Web portal, which has been consolidating offices and trimming staff around the world, told employees based in Beijing that it will close the site, Yahoo said in a statement on Wednesday.