Change url, add prefix checking.