In June 2017, Kek signed a new three-year contract with Rijeka, which ties him with the club until June 2020. On 7 September 2017, Kek became the longest-serving manager by single appointment in the history of the Croatian First Football League. He resigned on 6 October 2018 after a 2–1 defeat against HNK Gorica. On 27 November 2018, Kek was appointed as the manager of the Slovenia national team for the second time in his career, replacing caretaker manager Igor Benedejčič. Source: HRnogomet.com     Matjaž's father, Franc Kek, played for NK Maribor during the early 1960s, earning 51 appearances for the club and scoring one goal in the process. His son Matjaž (born 1991) is also a footballer.