Better URL redirection when enter is pressed.