The gnats thrive in a wet environment, so heavy soils and/or over-watering provide a perfect environment. Eliminate the wet soil & the gnats disappear. In eliminating the WET soil, you also provide by default, a much more favorable environment for good root health. Root health, usually overlooked by a large % of growers, is a requirement for healthy plants - so much so that we can say it's impossible to have a healthy plant if the roots aren't healthy. The roots are the heart of the plant and are the primary consideration of accomplished growers.
Kerry - I've said before that as far as rooting fig cuttings goes, it's one of the easiest plants to root. I see a lot of directions for methods that would be poor or mediocre if carica was a more difficult species, but because the plant is genetically so vigorous, it usually roots in spite of what we do. ;-)
If I had to offer guidelines that follow good horticultural practices, I would tell you it doesn't matter too much what you root in, but it should be sterile for best results and consistency. It should be very porous - cuttings, like seeds/seedlings like LOTS of air in the root zone. Whatever you use for a medium should ENSURE there won't be a film of water covering the end of the cutting - this means that mediums like potting soil are poor choices on two counts - sterility and water retention.
Mediums like screened perlite, screened Turface, crushed granite, pumice, are all good choices for cuttings.
Use your imagination to keep humidity high surrounding the cuttings to slow evaporative/transpirational water loss, but do ensure some air circulation. Don't fertilize until you're sure the cutting has struck - increasing the TDS/EC of the medium solution reduces the cutting's ability to absorb water.
That's about it - you have a lot of leeway & there is no need to jump through 100 hoops to get cuttings to root. Using your noodle to embrace a simple concept offers a lot more flexibility than following someone's complicated set of instructions.
Al