Cordley was born on September 6, 1829, in Nottingham, England. When he was four years old, he moved to Livingston County, Michigan. He started going to school when he was nine years old. He got degrees from the University of Michigan in 1854 and Andover Theological Seminary in 1857. He also got the first degree from the University of Kansas in 1874.