No, a UTI will not prevent pregnancy.
I agree. You can still get pregnant. The sperm and egg are in a whole separate area than the urinary tract. However, if you have a UTI, this is something to get treated. A UTI requires antibiotics. So, if you still have symptoms of that, I would see your doctor and tell them you are trying to get pregnant. Unfortunately, to check for UtI's, they often have do a urine sample. Then they can look for bacteria. But they are pretty distinctive in their symptoms so 'maybe' they will treat on the assumption you do if you are sure. Anyway, good luck with getting pregnant!! Let us know how it goes!