I have 2 cats. The boy cat gets annoyed and wees at the edge of a room (likes deep pile carpet).
Girl cat goes 'oh, is this where we're weeing now' and joins in.
They have multiple litter trays (which they happily and frequently use too, and I only buy boy-cat's preferred cat litter), and free access to the countryside around us, but they still do it.
Bicarb doesn't work.
Citric acid works a bit.
I got a big container of some german stuff from Amazon that you dilute 10:1 which works to a certain extent, but I've not managed to get rid of the scent in one spot still - to the extent that I think I'll just take up the carpet there and put lino down.
https://www.amazon.co.uk/dp/B09M49HNKS?ref=ppxyo2ovdtbfedasintitle&th=1
That's the one, there's also this one
https://www.amazon.co.uk/dp/B07PB1J339?ref=nbsbsswas-reorderk0110&=&crid=2NHNJYYZVIET3&=&sprefix=cat+urine+
But I need a lot more than a little spray bottle.
A UV torch can help you find the spots, but, it's not foolproof unfortunately - since other things fluoresce too, and if the carpet has those fibres it's hard to see .
Human urine cleaners do nothing.
I scrub the area at least once, often more, and keep them out of that area for a while. Sometimes they don't go back to it, sometimes they do, and I don't know how to tell the difference. I also watch out for them starting to do it and yell, chuck my sock at them chase them away in the hopes of putting them off doing it again.