I don't know the answer to that one. I had a UTI about half a year ago and the pain was so intense, that I didn't wear a diaper for a week. I'm a male, so perhaps male UTIs are different? It came suddenly and in a couple hours, I was in the emergency room getting intravenous antibiotics. I went home sever hours later feeling better, but it took weeks for the pain to go completely away when I was peeing. I hope to never go through that again.
In order to relieve some of the pain, they gave me a muscle relaxant that turned my urine orange. I kept leaking into my underwear which soon was wet and bright orange. It probably was about as embarrassing as wearing diapers and a whole lot less practical, so maybe diapers are a better choice.