I am using a list of known spammer ips to block spammers from my site.
This method completely blocks a visitor from the listed ip from my website. What they "see" is a
403 forbidden error.
Now, what I'm thinking is that this error will alert the spammer to the fact that I'm blocking them specifically. Because certainly I wouldn't block everyone from my site. So it must be a spam block.
This might instigate them to find a way around my block. They will start using a different ip that I haven't yet blocked. Of course I will block it, once I notice spam comming from that ip, but for a certain time, my site will be vulnerable.
So I'm wondering, if maybe a better approach would be to not block the spammers, but present them with a page that looks harmless. For example an empty page (looks like I haven't yet built my site) or even a version of my site without comment forms (looks legit, but doesn't give them anything to spam).
What is the best method – block or redirect?