This is a peculiarly English (and Welsh or Irish?) problem. Our education system in Scotland is far from perfect, but it's more logical.
Primary schools have a catchment area. If you live in the area, you get a place. Even if that means they need to add another P1 class or go to composites.
The primary schools are feeders for a secondary, so, say, 6 primary schools feed into one secondary. The catchment for the secondary is automatically the same area as all the primary catchments.
This means that children go to the same secondary as their friends, but more importantly, they go to their local school, and most of them walk there.
If you want a primary or secondary that you're not in the catchment for, you put in a placing request.
I'm amazed when I read on here the distances that children have to travel to get to school, passing other local schools en route.
I'm getting stressed reading about it - I really feel for you all who are living it. 