Well, I will try to be really brief and clear.
I will start pointing out four facts.
These people try to escape war and ISIS. So they choose routes towards the West, with the majority of them aiming to reach some particular countries of the European Union. This includes a long, hard road, with ruthless traffickers, dangerous weather conditions, etc. So this is Fact One: The long, dangerous road to the West.
Of course, widely known as it is, terrorists "blend" into the groups of Syrian migrants, falsely stating themselves as war refugees during the substandard checks taking place after they have entered European Union, posing an already “certified” danger to the European countries. This is Fact Two: The terrorists infiltrating easily in target countries through the groups of real refugees.
The groups of “real” refugees, and their rights for political asylum, are being abused by other ethnicities too, that are not supposed to enter European Union and other countries without particular papers, certain checks and officials approval, illegal immigrants from the wider Middle East that also falsely state themselves as Syrians. This is Fact Three: Illegal immigrants abusing the international institution of political asylum for war refugees.
Fact Four does not need any further details: The proportional/equal distribution of the refugees seeking asylum in European/Western countries.
The solution, according to my naive way of thinking is this:
Organized UN/EU checkpoint facilities (ASCC-Asylum Seekers Confirmation Centres) close to the already known routes of the refugees, inside Turkish territory, right next to the borders with Syria (the vast majority of the Syrians trying to get to the West through Turkey). These -and only these-will be official paper-issuing spots for Syrians seeking asylum in a European/Western country, which will be clear to everyone, especially the asylum seekers.
The solution regarding the aforementioned Facts:
Fact One: The trafficking and weather conditions dangers elimination. No Syrians will choose this way into the EU because they will not be validated to enter.
Fact Two: The detailed checks at the official and staffed with specialized and equipped personnel facilities will be more in-depth and effective.
Fact Three: Same as Fact Two.
Fact Four: Easier for the checkpoint personnel to manage the final destinationof each family in consultation with the statistics given by the headquarters.
It is important to be clear that all confirmed asylum seekers will be taken care and given dignified alternatives and support in order to get to the desired and suggested destination.