Codeable info

A Quick Way Of Reducing Comment Spam

Posted on by in WordPress Tutorials

A Quick Way Of Reducing Comment SpamPreetinder Singh left a great little tip in my article 10 Simple Steps To Reduce WordPress Comment Spam Without Using Plugins that I thought I’d share with you all.

Preetinder found that by simply renaming wp-comments-post.php to something else you can reduce a huge amount of comment spam. All you then need to do change the form url from wp-comments-post.php to the new file name in your comments.php file. It’s amazing how simple little tweaks like this can save you a lot of problems.

If your blog is experiencing a lot of comment spam, I recommend trying this out. Thanks to Preetinder for the tip :)


Codeable info

Comments (6)

Comment by Alex says:

Wow.. that’s a nice little tip!

Comment by Kevin Muldoon says:

Unfortunately, I’ve never used Thesis so I’m not sure how their template system is setup. Sorry I couldn’t be of any more help.

Comment by Chris M. says:

Thanks for the reply Kevin.

I am using Thesis 1.8 and when I look in the “comments.php” file I see no reference to âہ“wp-comments-post.phpâ€Â at all.

Comment by Kevin Muldoon says:

Hi Chris,

The comments.php file is a theme template.

You will see it in the appearance section of your blog :)


Comment by Chris Moore says:

Where is the “comments.php” file exactly? The one I found doesn’t have any mention of the original “wp-comments-post.php” file in it so that I could change it… Thoughts?

Comment by Roseli A. Bakar says:

That’s an awesome tip. Gonna try now. Thanks Kevin and Preetinder!

Codeable info