Ever since starting solids DD2 has had constipation issues. Just a little over a week ago she didn't poop for like 2-3 days and for over a day it was very hard painful straining poop. That's after pushing pears, prune purée water and no constipating foods. Finally it worked and she was very regular for like 3-4 days. Like explosive poops for multiple days. Now she's constipated again and hasn't pooped since Tuesday! Today she had a tiny bit. I am so afraid of it turning into what it did last time, where she's in pain straining to poop.

Any tips for regular day to day maintenance to prevent constipation? I am giving water at meals, she doesn't really get carbs, no bananas any more and regularly gets prune purée, pears, broccoli, etc

Thanks!