Refrig leaking

My refrigerator is leaking water on the floor. I have recently changed (twice)the water valve controlling the ice maker and drinking water dispenser. Each time the unit works fine without leaking for two or three months then begins to leak water on the floor. I have yet to determine where the leak orginates. Since the problem is temporarily solved by changing the valve, I don’t know that it’s the valve.

If you can tell us where it’s leaking from I maybe able to help.