M.A.
Rub baking soda into the carpet, leave in overnight then vacuum. I also use OdoBan spray (Sam's club and home depot.)
You are bathing the dog to much. Does his whole coat smell? Spray the house? Potty problem? Breath? Glands? Does he roll around outside and track in smells from other dogs/cats? At the dog store they carry a dry shampoo for dogs that you do not have to get them wet. I clean my dogs stinky areas with a dry shampoo, and baby wipes to get his manhood clean.
Did you change the padding under the carpets too?