Continue writing the next sentence.

How to stop cats from peeing on the front porch
Remove resources.
Remove food, water and other things that could be highly prized by visiting cats. This reduces the " value " of the porch and makes it less worth it to stake a territorial claim.
Use a motion-operated compressed air canister. An ideal deterrent is a canister of compressed air that is activated by a motion sensor.