Replace #uri with #last_effective_url