I recently found a new homemade GREEN carpet cleaner that I swear by! I've also used the same formula to clean baby vomit. Yum.
Anyways, here it is...!
Step 1: Mix 1 part white vinegar with 1 part water in a squirt bottle and liberally cover the urine (or barf)
Step 2: Scrub the area thoroughly to get the vinegar mixture into the carpet fibers. The vinegar neutralizes the ammonia in the pee, which will hopefully eliminate the odor and keep the dogs from continuing to pee in the same area.
Step 3: Use paper towels to absorb excess vinegar mixture. Don't skimp on this step. I usually go through an entire roll of paper towels.
Step 4: Once the area is almost dry, shake a healthy amount of baking soda over the entire thing.
Step 5: Mix 1 cup hydrogen peroxide (no more than 3%- otherwise it'll bleach your carpet!) with 1 tsp dish soap (I got a white Dawn soap with Oil of Olay for soft hands- it smells good and it's white so it won't stain my carpet). Drizzle the peroxide mixture over the baking soda and massage into the carpet with your hands. It should sud up a bit. Get it in there real good.
Step 6: Once the area is completely dry, vacuum dried baking soda.
Voila!! That's it!!! It usually takes me a full day to get through all the steps, so don't do this right before company arrives or anything.