Harford will become Rotherham's new manager replacing Ronnie Moore at the Yorkshire Club after they will relegated from the Championship to League one on Tuesday night.
Harford joined Swindon as assistant manager only six weeks ago, and had already been linked with the Watford job but didn't get that job, so has now taken to Rotherham job.
Harford has also worked with Nottingham Forest and Luton Town as Director of Football.
Alan Reeves will once again help Andy King until the end of the season.