By halogenation of 1-(2,4-dichlorophenyl)-2-(1,2,4-triazol-1-yl)ethanone (I) with refluxing phosphorus pentachloride.