2010. Like his career at Forest Green, Smith also helped York to a credible FA Cup run, playing in their five matches before being eliminated in the third round by Premier League club Bolton Wanderers on 8 January 2011. He made 44 appearances for York in 2010–11, in which he scored five goals. Swindon Town On 21 June 2011, Smith joined League Two club Swindon Town on a two-year contract to become manager Paolo Di Canio's second summer signing. Smith joined the Wiltshire club for an officially undisclosed fee of £30,000. He finished 2011–12 with 48 appearances and three goals, with 38 of those appearances coming in the league, as Swindon won the League Two title. Return to York City Having been transfer listed by Swindon at the end of the season, Smith returned to York City after signing for the newly promoted League Two club on a two-year contract on 21 July 2012. He made his second debut for York in their match away at League One club Doncaster Rovers in the League Cup first round on 11 August 2012, which they lost 4–2 in a penalty shoot-out following a 1–1 draw after extra time. He then played in York's first Football League fixture since their promotion, a 3–1 defeat at home to Wycombe Wanderers on 18 August 2012. Luton Town On 5 November 2012, Smith was loaned out to Conference Premier club Luton Town until 5 January 2013, having played in 13 matches for York in 2012–13. He made his debut the following day in a 1–0 defeat at Hereford United. Smith scored his first goal for Luton with a header in their 3–0 home win over Alfreton Town on 8 December 2012. This proved to be his final appearance in his loan spell for Luton, as he was recalled by York on 11 December 2012, having scored once in six appearances for the Bedfordshire team. Smith was disappointed at the recall, having previously expressed his desire to stay at Luton and experience "playing in front of a big crowd every week". On 29 December 2012, it was confirmed that Smith would make a permanent move to Luton on 1 January 2013, signing a one-and-a-half-year contract after the two clubs agreed a fee of £50,000. He made 28 appearances as a permanent player for Luton in 2012–13, including in the club's 1–0 FA Cup win over Premier League