Urdu is Farsi and Hindi combined
Urdu is Hindustani with Persian script.
The furore over 'Hindi' started very late in the day, in the 18th century, when as part of the movement to re-establish a separate identity of their own in the Doab, there was a move to purge Hindustani of Persian, and Turkish and Arabic words, and to replace them with synthetic Sanskritised words.
This was not accidental, it was a movement, and it sought to replace the seven dialects prevalent in the Doab* with one standard language. The position taken was that this standard language dated back to Amir Khusrao, from the author's use of Hindavi to describe what he used for his compositions.
The underlying language, the genuine one that evolved, is Hindustani.
All the efforts to impose their will (and their identity ) on the rest of India is tangled up, and is pushed very hard by the centralising faction.
* Braj Bhasha, Khadiboli, Kanauji, Bundelkhandi, Awadhi, Bhojpuri and Baghelkhandi. Of these, Khadiboli, the dialect spoken in western UP, eastern bits of Haryana and the Delhi region, was picked up as the dialect to serve as a template for this new language.