A story says that while a villager named Irula was digging the forest and collecting roots, his axe hit a Lingam underneath.
On account of his deep devotion to the Lord, the God appeared in his dream and told him that he is present inside the pit.
Sri Aladi Viniayagar is installed mid-way to the flight of steps leading to uphill.
It is believed to be those of the Ambal, who performed a severe penance for Sri Ponmalainathar, in a standing posture.
Saint Arunagirinathar appears to have visited this shrine and sung songs in praise of the deity, through his famous "Thiruppugazh" in which he described this sthalam as Kanakagiri.
The images of the pigs might have been intended to create sentimental feelings among Muslim invaders and prevent them from destroying the temple.
Saint Arunagirinathar appears to have visited this shrine and sung songs in praise of the deity, through his famous "Thiruppugazh", in which he has described this sthalam as Kanakagiri.