Happen to come across this when surfing on white vinegar cleaning.
Cats hate the smell of vinegar. If you have a cat that is marking its territory around your house, spray the area with white distilled vinegar then rinse with a hose.
Discourage a sitting cat from n a certain windowsill or other surface, or from scratching upholstery, by spraying white distilled vinegar on the item. Test first on an unnoticeable area to be sure there wonâ€™t be a discoloration.
White vinegar is really cheap so I guess no harm trying.
Another method I read from this forum is to put axe brand medicated oil.