Original: They moved to Richmond where Robert took a post as the register of the Confederate Treasury.
Simplified: They moved to Richmond. In Richmond, Robert worked as the register of the Confederate Treasury.