1. Put fake eggs where you want them to lay their eggs. Ceramic, wood, golf balls, even rocks sometimes work. Also check your nest box setup - do they have enough privacy, enough space, are they being disturbed while nesting and want a more private, quieter area? Some folks use curtains on 12"x12" cubby hole nest boxes inside a coop, I use a 5 gallon bucket laid on its side in the covered run with shavings in the bottom and a paving stone at the mouth of it for a next box - my nest box gets an inverted plastic lawn chair over the mouth of it, so they can feel hidden. They enter thru the sides of the lawn chair and when there's a mess, I just wash out the bucket.
2. Hens just do this. They are going to squeeze, but you shouldn't be getting crushed eggs from it. Do you have older hens? They may have trouble producing strong enough shells. If the hens are younger, feed more calcium to see if you can get stronger egg shells. Use oyster shell free-choice in a container in the coop. Or pop one calcium citrate 600mg with vit D people vitamin in their mouths once a day for a couple weeks, no more than a month. They should swallow it fine. Is your nest box too small? Getting a larger nest box for those dogpiling hens might be a good option - then they can maneuver without breaking eggs. For older hens laying breaking eggs, if the calcium citrate treatment doesn't help, there's not much I know to do. I just feed those eggs back to my flock right away - they don't even make it thru the collection process so I don't bother to try.