and the washing up liquid makes it hard for them to fly out. You can also do the same thing with some old fruit at the bottom of a plastic bottle. How to get rid of fruit flies If your DIY trap ...