Hardwar or haridwar are two names for the same piece. The whole of uttrakhand is dotted with temples of vishnu & shiva. Vishnu is known as hari and shiva as har dwar means gate, and it is for this reason that this place is known as haridwar or hardwar, as it is the gateway to shri badrinath and shri kedarnath, the holy shrines of hari and har.
https://freeglobaluniversity.blogspot.com/search/label/Hari
https://freeglobaluniversity.blogspot.com/search/label/Hari