The official, Anoop Singh, has been shifted to district jail in Pilibhit with immediate effect. P P Singh has been posted in his place, DIG (prisons) Agra, Sharad, said.
The victim, who was released from jail on May 9, also alleged that a warden, Pushpa, had colluded with Singh.
She first moved an application against the official when she was imprisoned. After her release from jail, she complained to the District Magistrate as well as police officials in Lucknow.
Singh, meanwhile, has refuted the allegations against him.
