Constipated one year old

Jo

Hey I need help. My 15 month old daughter has been having constipations issues since 6 months old. I’ve tried everything. I’ve changed food, milk, gave bath twice a days, doctor prescribed laxative, and she ended up still getting two hemorrhoid. Doctor prescribed cream for 8 weeks did it all. But still has days she is constipated and she screams when she poops. Five days she is good but there is one day she is bad. I don’t know what else to do. I’ve done juices, gone to the doctor I don’t know