Redirection fix for hash (no prefix) urls