(a) The chlorine at C-1, which is ortho to the –NO2 group, is replaced. After acidification the product is 4-chloro-2-nitrophenol.

(b) OH− adds to the carbon carrying a chlorine, giving a negatively charged carbanion. By resonance the negative charge appears on the carbons ortho and para to the carbon attacked.
- Attack at C-1: the charge reaches C-2, C-4 and C-6. C-2 carries the –NO2 group, so the charge can spread onto the oxygen atoms of –NO2. The intermediate is strongly stabilised and forms readily at 443 K.
- Attack at C-4: the charge reaches C-3, C-5 and C-1. None of these carries –NO2 (the –NO2 at C-2 is meta to C-4), so –NO2 cannot take up the charge. This chlorine behaves like the chlorine of chlorobenzene, which needs about 623 K and 300 atm.

So only the chlorine ortho (or para) to the –NO2 group is activated; a meta –NO2 group has no such effect.