[OH:1][C:2]1[C:11]2[C:6](=[CH:7][CH:8]=[CH:9][CH:10]=2)[C:5]([C:12]([OH:14])=[O:13])=[CH:4][CH:3]=1.S(Cl)(Cl)=O.[CH3:19]O>>[OH:1][C:2]1[C:11]2[C:6](=[CH:7][CH:8]=[CH:9][CH:10]=2)[C:5]([C:12]([O:14][CH3:19])=[O:13])=[CH:4][CH:3]=1To a solution 4-hydroxynaphthoic acid in anhydrous methanol at 0° C. was added thionyl chloride (1.5 eq). After stirring the solution at room temperature for 16 hours, the solvent was evaporated. The residue was taken up in ethyl acetate and washed with saturated aqueous sodium bicarbonate, water, brine, and dried over MgSO4 to give methyl 4-hydroxynaphthoate.