Almost all "solutions" that involve getting bikes off the road introduce new dangers.
Segregated lanes at roadside: used for parking, drains, drain covers, out of drivers' consciousness at junctions
Shared use paths: dogs, pedestrian morons, tree roots, ice
Cross-country paths: unsuitable surfaces, muggers
The road is almost always the best option and all these alternatives give drivers an excuse to behave worse towards xyclists.