rearrange urls.