chang url to uri