Generalized 'hashnav_redirect' code into common until methods