[CH2:1]([O:4][CH2:5][CH2:6][CH2:7][CH2:8]Cl)[CH:2]=[CH2:3].[OH:10][C:11]1[CH:19]=[CH:18][C:14]([C:15]([OH:17])=[O:16])=[CH:13][CH:12]=1.C(=O)([O-])[O-].[K+].[K+].CN(C)C=O>O>[CH2:1]([O:4][CH2:5][CH2:6][CH2:7][CH2:8][O:10][C:11]1[CH:19]=[CH:18][C:14]([C:15]([OH:17])=[O:16])=[CH:13][CH:12]=1)[CH:2]=[CH2:3]A reaction mixture containing 14 g of allyl(4-chlorobutyl) ether, 14 g of 4-hydroxybenzoic acid, 14 g of potassium carbonate and 50 mL of dimethylformamide was stirred at 90° C. for 3 hours. Water was added to the reaction mixture, which was then extracted with toluene. The toluene layer was well washed with water, and then toluene was distilled off. 20 g of sodium hydroxide, 50 mL of water and 200 mL of ethanol were added to the resulting residue, followed by refluxing for 2 hours. Ethanol was distilled off, and hydrochloric acid was added to make the reaction mixture acidic. The mixture was extracted with diethyl ether and dried over anhydrous magnesium sulfate. A residue obtained by distilling the solvent was recrystallized from a mixed solvent of ethanol and water to obtain 29 g of 4-(4-allyloxybutyloxy)benzoic acid.