This jas been a problem with me for quite sometime now, I would say a few years, I was always too embarresses to tel my doctor about it. I have looked through this site before and found some helpful stuff, but not the answer I was looking for.
HOW to get rid of the smell. Well I always noticed that when I my underwear are a certain kind of material, I never figured out which one exactly but I do know for sure that using 100% cotton definatley gets rid of the smell.
I always loved to dance and this smell got really strong when I would sweat, so yes I might have to do with your diet, but also what you wear.
I hope this helps