Reformat urls