What is the best method to keep bots from spamming your blog?

后端 未结 8 1492
梦毁少年i
梦毁少年i 2021-02-06 10:55

I got a problem at my blog. I got visits from kind bots who leave \"nice\" comments to my blog posts :(

I\'m wondering if there is a smarter way to keep them out, besid

8条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-06 11:21

    I think you have several options...

    1. Require registration to post comments - but thats more annoying than captcha, so probably not the best idea

    2. Examine the user-agent of the poster (see here) for something that looks genuine or exclude those which look suspect

    3. Use a nice Captcha. As annoying as they are, used properly they aren't that bad. It took me 7 attempts to sign up for a gmail the other day because i just couldnt read what it said. A nice captcha though isnt that bad really, kept it short and READABLE

提交回复
热议问题