If not bacterial, it could also be viral or fungial and can also be a symptom of a greater problem.
If antibiotics do not work, then your vet should do blood work and a culture to find out the cause.
Myself, I would get the culture first, the medications used to treat an ri are not benign. Batryl is hard on the kidneys, but when weighed against a bacterial RI, its worth it.