I have a spayed and healthy 12 year old female cat who was going inside the litter box but accidentally urinating outside the entrance. I remedied this problem by placing two strips of duct tape across the inside and outside base of the dome cover opening, elevating the access are approximately 2 inches.
She conveniently enters and exits the litter box with ease. This method is safe, inexpensive and a complete success!