I find the four doors theory to be a little misleading. From my understanding, the four door entrances are not unique to Gurdwaras and before the first Gurdwara, four entrances to a place of worship was normally associated to Zoroastrianism and fire temples.