Socially distanced layout of the world's oldest cities helped early civilization evade diseasesUrban collapse in early farming communities may have been influenced by disease outbreaks.Later settlements adapted to minimize disease transmission after learning from past collapses.