Complex sentence: The traditional story is that the upper castes here did not allow him to enter the temple, nor did they allow him to stand in the door of the temple, so he instead built a hut on the other side of the river Chandrabhaga.
Split into simpler sentences: The traditional story is that the upper castes here did not allow him to enter the temple, nor did they allow him to stand in the door of the temple. So he built a hut on the other side of the river Chandrabhaga.