Redirect history url to a nice one