Rock the Squat
First, do the squat! Elevating your feet while on the bathroom throne brings your body into the elimination position nature intended. A squatting position fully relaxes the puborectalis muscle, while the conventional seated posture actually puts a kink in the anorectal angle.
I’m using words like “puborectalis” and “anorectal” because I really don’t want to scare you off with personal details about how squatting rocks. So I’ll just say that proper pooping alignment means no straining.
I use a Squatty Potty and I thoroughly recommend it. You can also use a step stool to elevate your feet, but the Squatty Potty is much less of an eyesore.