Many people give the squirrels something to eat of their own, like a corn cob on a stake, to keep them out of the bird feeders. However, unless you can persuade your neighbors to give them a place to dig, you can't keep squirrels out of your yard whether you feed them or not. How bad is the digging? The squirrels in my neighborhood hide their nuts for winter in my yard and others, but that isn't very disruptive of the flowerbeds. You can keep them from gnawing on individual plants by using a pepper spray that tastes terrible, available at garden centers. Having a dog definitely helps.