It is located at the bank of the River Vaigai, which flows in the direction North to South here in Thiruvedagam.
The Pandya King Arikesari Nedumaran who belonged to the Saivaite faith, due to the clever tactics of the Samanar community, underwent a conversion.
The Saivaite queen sent an emissary to Gnana Sambandhar and requested him to save the king and the subjects from the Samanar's grip.
Stirred and worried by his visit, the Samanars burnt the monastery of Sambandhar and this reflected on the King, who was afflicted with leprosy.
The palmyra leaf that Sambandhar floated reached the bank on the other side where there lies an idol of Lord Ganesha who is known as " vaathu venra vinayakar " .. Sambandhar feeling happy called the place as 'Edu Senranai Tharum Edagam' which came to be known as Thiruvedagam.
The palmyra leaf which the Samanars left was swept away by the river and reached 'Thirupasethi'( thiru + pa + serthal) later to be known as thirupachetty.