[OH:1][C:2]1[CH:11]=[CH:10][C:5]([C:6]([O:8][CH3:9])=[O:7])=[CH:4][CH:3]=1.C(=O)([O-])[O-].[K+].[K+].CC(C)=O.[CH2:22](Br)[CH2:23][CH2:24][CH2:25][CH2:26][CH2:27][CH2:28][CH3:29]>C(OCC)(=O)C>[CH2:22]([O:1][C:2]1[CH:3]=[CH:4][C:5]([C:6]([O:8][CH3:9])=[O:7])=[CH:10][CH:11]=1)[CH2:23][CH2:24][CH2:25][CH2:26][CH2:27][CH2:28][CH3:29]Into a flask were introduced methyl 4-hydroxybenzoate (251.0 g, 1.65 mol), potassium carbonate (276.37 g, 1.99 mol) and 1200 g of acetone. This was refluxed for 45 min followed by the drop-wise addition of 1-octylbromide (386.17 g, 1.99 mol) over a 1 hour period. The reaction mixture was refluxed for two days. Filtration of the cooled reaction mixture and evaporation of the filtrate gave an oil. This was taken up in ethyl acetate and extracted with 5% NaOH (2×100 ml) followed by water (2×100 ml). The organic layer was dried (MgSO4), concentrated, and transferred to a pre-weighed 1L three-necked flask. The contents of the flask were subjected to high vacuum distillation to remove the excess 1-octylbromide. The pot residue gave 376 g (86% yield) of methyl 4-octoxybenzoate.