From NCERT Class Chemistry Part 2:
Example 11.5
Write the structures of the major products expected from the following reactions:
(a) Mononitration of 3-methylphenol
(b) Dinitration of 3-methylphenol
(c) Mononitration of phenyl methanoate.Solution
The combined influence of $\ce{-OH}$ and $\ce{-CH3}$ groups determine the position of the incoming group.
Since $\ce{-OH}$ and $\ce{-CH3}$ are o,p-directing groups, shouldn’t the major product be 3-methyl-2-nitrophenol? Why not?