Do not plant cucurbits in ground that held cucurbits within 2-3 years.
PromisingHow it works: Melittia cucurbitae overwinters as a pupa in the soil where its host grew and emerges the next summer; Anasa tristis overwinters as an adult in sheltered sites (plant debris, under boards or rocks) and flies to cucurbits in spring. A host-free break cuts local carryover, but both are strong fliers that re-invade from a distance, so rotation is only partial and works best paired with fall sanitation (destroy spent vines).
Evidence: checked against 4 sources in the research-based literature.
The 4 sources
… squash vine borers spend the winter in the soil near their host plants ... Practice rotation ... planting cucurbits in different areas of your garden if possible, or alternate seasons
Crop rotation away from previously infested fields helps reduce local populations, as overwintering pupae remain in the soil. However ... fields often need to be rotated more than 5 miles away as SVB can fly into fields from long distances.
Squash bugs can live through the winter as adults in sheltered places, such as under plant debris, around buildings, or under rocks. When adults come out in the spring, they fly to growing cucurbit plants.
… 2+ years; avoid other cucurbits
Remedy
Plant cucurbits in different ground, or wait 3 years. Destroy the spent vines in autumn and clear debris and boards nearby. The pupae overwinter in the soil where the crop grew, the adults in the shelter around it. Rotation is only partial; both pests fly in from a distance.