Update `window.location.href` upon redirection.