Step 1: Direct nitration of phenol gives a mixture of o- and p-nitrophenols.
Step 2: In method (b), phenol is first converted into phenyl nitrite which rearranges (via nitrosation–oxidation) to give predominantly p-nitrophenol.
Step 3: Para product is favoured due to steric hindrance at ortho position.