remove the local part in url