Question: how to train dogs not to dig holes?
Answer: If you catch your dog digging in an unacceptable area, interrupt the behavior with a loud noise and firmly say, "No dig." Then immediately take them to the digging zone. Make the unacceptable digging spots unattractive (at least temporarily) by placing rocks or chicken wire over them.