Board Deng: WordPress to prevent being just brush garbage comment method

Source: Internet
Author: User

I think a lot of people using WordPress should be disgusted with the rubbish commentary, and then began the spam review and anti-spam review of the battle, and then to the blog to install a variety of anti-spam comments plug-ins, but often still impossible.

Say a small station before every day at least 200 spam reviews, mostly English, and then installed Some Chinese please this plugin, comments must have Chinese, otherwise the publication is unsuccessful.

Then the English rubbish comment is gone, all is the Chinese and Japanese English mixed type rubbish comment. The system of commenting on rubbish has also been upgraded, which is difficult to prevent.

The previous days in the adjustment of the topic, the next topic of the review system, because the theme of the use of Ajax submitted comments, in fact, there is no use of the system's own wp-comments-post.php. So I deleted the wp-comments-post.php and then comments, replies, are normal, the experiment for a few days, no longer found a Chinese and Japanese mixed-style garbage commentary, only a few days in the kind of sporadic a few manual comment spam.

As we all know, most of the spam reviews are through the Post site root directory wp-comments-post.php to submit spam comments, we let it can't find the post portal, then it can not send spam comments.

For ordinary users, normally, no matter what theme you use, the general solution is:

Rename the wp-comments-post.php under the blog root directory to anything, such as no-comments-post.php

Open the comments.php inside the theme, find the wp-comments-post.php inside the code, and change it to no-comments-post.php

Change the name is the same as the name of the previous modification, the proposed change not so rule, to prevent the spam review release mechanism upgrade by what regular match to guess some similar address.

This is mainly through the revision of the comment path, so that spam comments can not find the entrance, and thus block spam comments, currently I use it down is very good, if your WordPress also has a lot of spam comments, may also use this method.

Board Deng: WordPress to prevent being just brush garbage comment method

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.