My cat Snoopy has been a pee-er most of her life. When she was fairly young she had kidney stones and a sundry other urinary type problems. This made it painful for her to "go" and because she is a cat, she thought maybe going somewhere else could help with that pain. However, even after the health issues were sorted she developed a habit of peeing outside of her box when she is unhappy.
There have been a few bouts of chronic peeing but for the most part its once a month or so. Recently, she started doing it every day. We thought maybe it had to do with operation kitten rescue in our backyard but continued even after the kittens were gone. It has been ruining our laminate floors so we created Kitty Jail.
Kitty Jail involved moving Snoopy's favorite bankie, food and water into the hallway. We then used a baby gate to block off the hallway and the laundry room which is where her litter box is. So now whenever she pees outside the box she has to go to Kitty Jail.
Update: For some reason this post got saved as a draft. Since then operation kitty jail has been successful. She is back to peeing only when we piss her off (mostly go out of town). We recently came back from an overnight trip to find some pee so we put her in jail. While still screaming about the injustice of it all, she went and used her litter box then made a big deal out of it as if to say, "I promise I will be good and use my box, see?" We shall see, we shall see.