Changed id_partition to be for encoded urls