Thiruvedagam is a village located in between Sholavandan and Madurai. It is away from Madurai and away from Sholavandan. It comes under Vadipatti taluk in Madurai district. It is located at the bank of the River Vaigai, which flows in the direction North to South here in Thiruvedagam. Here a famous and historical Shiva temple named Edaganathar temple is located.
Thiruvedagam village which was occupied by the Samanars, changed the course of history. The Pandya King Arikesari Nedumaran who belonged to the Saivaite faith, due to the clever tactics of the Samanar community, underwent a conversion. He deviated from the path of virtue and his subjects also followed their ruler. The Saivaite queen sent an emissary to Gnana Sambandhar and requested him to save the king and the subjects from the Samanar's grip. Acceding to her request, Sambandhar with the blessings of Appar, paid a visit to Madurai. Stirred and worried by his visit, the Samanars burnt the monastery of Sambandhar and this reflected on the King, who was afflicted with leprosy. Both the Samanars and Sambandhar treated the disease. The Samanars efforts proved futile while the sacred ash given by Sambandhar to the King cured him. Angered by this, the Samanars challenged Sambandhar to 'anall vaadham' and 'punall vaadham'. Defeated by Sambandhar in the anall vaadham, they got down to punall vaadham. The Samanars wrote ' Athi Naathi' on a palmyra leaf and floated it down the river Vaigai, while Sambandhar wrote in Tamil:
'வாழ்க அந்தணர் வானவர் ஆனினம்
வீழ்க தண்புனல் வேந்தனும் ஓங்குக
ஆழ்க தீயதெல்லாம் அரன் நாமமே
சூழ்க வையக முந்துயர் தீர்கவே'
and floated it down the Vaigai. 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' later to be known as thirupachetty. The Vaigai River flows in the direction North to South here in Thiruvedagam. So it is said to be as good as praying in Kashi. A Shiva temple known as "Edaganathan Temple" is situated in the middle of the village.It is the second most important Lord Shiva temple in madurai district.More than 60% agricultural land of the village owned by temple.
By Long route Buses: Madurai to Nillakottai. Stop: Thiruvedagam. By Train: Stop: Sholavandan. Station code: SDN. after which a bus is necessary to reach Thiruvedagam itself. Express trains do not stop in Sholavandan, except the Nellai Express and Mysore Express which stop at Sholavandan on both directions.