Abstract–A tandem reaction of new type Baylis-Hillman adducts 1 was prompted by ionic liquid [Hmim] HSO4/NaNO3 system and the unexpected products 6-aryl-2H-pyran-3- carboxylates 2 and imidazolium salts 3 were efficiently formed via the rearrangement and substitution reaction. While mediated by [Emim] HSO4/NaNO3 system, the key intermediates 4 were isolated. A plausible mechanism for the transformation was given.