in December. Cardiff reached the 2012 Football League Cup Final, but Miller missed a chance to score late in extra time. He then missed his penalty kick as Cardiff lost to Liverpool in a penalty shootout. He struggled for form later in the 2011–12 season, scoring only once in 22 appearances. Vancouver Whitecaps FC Miller signed with Vancouver Whitecaps FC of Major League Soccer on 16 July 2012. Six days later, he made his debut in a 2–1 home win over the San Jose Earthquakes, playing the last 12 minutes in place of Darren Mattocks. He scored his first goal for the Whitecaps on 25 August 2012 against the Portland Timbers in a 2–1 loss. He signed an extension in July 2013 to take him through June 2014 with the club, however, the two sides mutually agreed to terminate the remaining two months in his contract on 4 May 2014. Rangers (third spell) On 4 June 2014, Miller signed for Rangers on a one-year deal. He made his third debut against Hibernian in a Challenge Cup tie on 5 August and scored his first goal since his return to the club on 30 August against Queen of the South. Miller scored nine times in 41 appearances in 2014–15, as Rangers failed to win promotion to the top flight. Miller signed another one-year extension with Rangers in November 2015. On 2 January 2016, Miller became Rangers' oldest ever player to score a hat-trick in a 6–0 win over Dumbarton. Five goals in four league games during January 2016 saw Miller win the Scottish Championship player of the month award. He played and scored in the 2016 Scottish Challenge Cup Final, as Rangers beat Peterhead 4–0, only five days after Rangers had secured the Scottish Championship trophy. Miller ended the 2015–16 season with 21 goals, scoring his final goal in the 2016 Scottish Cup Final which Rangers lost 3–2 to Hibernian, giving Hibernian their first Scottish Cup win since the 1901–02 Scottish Cup. During the 2016–17 season, Miller scored his 100th goal for Rangers, over three spells, in a Scottish Premiership match against Inverness CT. It was strike which was nominated for the SPFL's and the club's goal of the month awards for October, winning the latter. He also scored his tenth career goal in an Old Firm derby (nine of them for Rangers) when he captained the side in a 2–1