First question: Is the cat fixed? Not being fixed can result in bad litter box habits.

I would rule out infection (visit to a vet).

All the other stories/suggestions in that post you hi-lited are all good advise.
So, I'd take a moment and re-read the posts on this subject, you will get loads of good ideas/advise from others with same problem. litter box