Auto comment close in Wordpress

Comment spam is a huge problem on blogs, and plugins like Akismet and Spam Karma are available for Wordpress to help cope with it. But many times the spam gets through even these filters and ends up in my inbox. The situation is so bad that the filters catch approximately 10K spam comments a month on this blog.

One way to prevent the spam is to disable comments on all the old posts. I looked around for a plugin which did this some time ago and couldn’t find one. I didn’t really feel like figuring out how to write a plugin, so I ended up adding a kludge in the code. Today, I came across a plugin which does exactly what I wanted. The code for the Auto Close Comments plugin is available at the codex. [Via]

Related Posts