I have comments disabled in my options, but every now and then, a spammer tries to comment. I get an email notifying me of the comment, and besides the content being spam, I know it’s a fake comment because the post to which they commented doesn’t even have the comment link. I do have comment.php in my themes; will removing it from any themes work, and will it be enough? Thank you.
Will it be enough? Only until the spammers find another way…. but yes, removing both comments.php and comments-popup.php will prevent some of that sort of abuse.
Someone will correct me if I’m wrong, but I believe you can also take out of the root of the install the following files: wp-comments-post.php, and wp-commentsrss2.php.
And this assumes that you are running the current version….
If removing the last two files from the root borks something, just put them back – meaning back them up somewhere!
If you want comments disabled totally then I guess deleting those files will help.
However, if you are really interested in preventing/reducing spam you might want to take a look at my post Protecting your blog from spam
I’m going to try Bad Behavior, but I’ve already removed the files mentioned, and I’m still getting notices of comments being posted. They don’t actually get published to my blog, but it’s just annoying to have to deal with them at all.
I’m so sick of spam in all forms, in email and wherever. You add a spam filter, and the next thing you know, you spend so much time adding addresses to it, it becomes just as much of a pain as the spam itself. Plus, spam still gets through, and if you have a filter set up like I do at one of my addresses, where only those in the address book get through, you still have to check the “potential spam” to make sure nothing valid got stuck in there, so it defeats the purpose.
Sorry, just a bit of a rant.
If you have deleted
wp-comments-post.phpand are still receiving “spam comments”, then your are actually receiving spam trackbacks, not comments. You would have to delete the
Personally, I wouldn’t delete either one of them, and I wouldn’t go through the trouble of constantly adding addresses to a blacklist. Just let an anti-spam plugin such as Bad Behavior or Akismet handle the spam fighting for you.
Well, I prefer not to delete wp-trackbacks.php, and I’ve installed Bad Behavior on my site, so we’ll see what happens. If I don’t have problems, I’ll probably put the comments files back as well…I like having the option to include comments if I so choose. Thanks!
Ok, so I’ve got Bad Behavior installed, and I did hear from the creator, and it appears to be working correctly. Except…I’m still getting notices to moderate posts (which are nothing more than someone posting a title and usually just a couple of words like a drug name or something). So, is my only choice to disable trackbacks and remove the wp-trackbacks.php file?
No, you can fight them with the Comment Blacklist, at least that’s what I do. The blacklist instantly deletes matching posts, unlike the moderation list. Or, you could back-up Bad Behavior up with a plugin like Akismet or Spam Karma.
I really hate the idea of having to keep a blacklist, because adding to it takes more time I don’t have. Is there something I could put in there that would eliminate all comments? I have comments disabled, so it seems I shouldn’t be getting any comments to moderate, anyway.
Edit: Actually, I came up with an idea that might work. It’s not foolproof, but there’s more stuff I can do if need be. I’ll see what happens.
Yeah, you’re getting trackbacks, not comments. Again, you could delete
wp-trackbacks.php. That, combine with deleting
wp-comments-post.phpwould cripple your blog’s comment and trackback system. You would get absolutely nothing. You wouldn’t need Bad Behavior, because you blog would receive no comments and no trackbacks. If that’s what you want, fine. But, it would be better to leave comments and trackbacks active so they can be used by legitimate people, and run Bad Behavior combined with a Blacklist, or another plugin like Akismet or Spam Karma, to keep the spam away.
- The topic ‘Comments Issue’ is closed to new replies.