Help!!!! Cloth diaper

K

My cloth diapers have that dreaded "barnyard" smell. I have been researching ways to fix it but there is so much conflicting info. Does anybody have any advice that worked for them?

My wash routine (helpful maybe?)

Prewash with cold water and no detergent

Hot wash with a full cap of detergent

Extra cold rinse

I'm not sure if I'm not using enough detergent or the right detergent? I'm using xtra with oxi clean. I looked up the fluff love university and it did say recommended, and then I followed the way the recommended to wash diapers with that detergent but it still smells. What kind of detergent do you guys use and recommend? What are your wash routine? Am I doing something wrong?