My dog use to always pee in the same place on the hardwood floors. Yet since I take her out every night for a long walk, she now does all her business outside. Just leaving the dog out in the back yard or on a leash is not enough.

Don't give your dogs free run of the house if they are not consistently housebroken. You may have to invest in (or borrow) crates. We have a rescue dog that even though housebroken continues to mark with urine. He was a totally outdoor running loose dog before. He has to wear a "bellyband" which is a male dog diaper of sorts.