change path to url