Z-blog strategy of preventing and treating spam messages

Source: Internet
Author: User
Tags add comments root directory

Blog comments are originally intended for bloggers and readers to establish good communication and communication channels, however, black hat SEO through a number of automatic links to the program, a large number of sticky paste their website link address for the so-called SEO search engine optimization, especially in China, Baidu search engine for the leading network, This spam message has been rampant, and today I'll explain how to set up a way to prevent spam comments in the z-blog system.

  1, the use of verification code

In Z-blog Site Settings Management-page Setup, select "Enable authentication code when commenting", this will add verification code verification to the comment, prevent machine mass, but there is already "human flesh spam" existence, by employing a large number of cheap "human flesh" to enter the verification code to crack. And the verification code is not very friendly to readers ' comments.

  2. Use Nofollow label

"nofollow" label is Google, Yahoo and Microsoft a few years ago together a label, hyperlink plus this tag will not be calculated weights, Z-blog comments By default use of the nofollow tag, but Baidu currently does not support nofollow tag, This nofollow function in a country where Baidu occupies most of the market, the actual effect is greatly reduced.

  3. REDIRECT Hyperlink

For the link submitted by the reviewer, the link is not displayed directly, but is linked using a redirect, redirected using JavaScript to jump, so that the search engine will not index the link. Z-blog Comment The default link is the redirect link.

  4. Use Robot.txt file

The Robot.txt file placed in the root of the Web site is a plain text file specifically provided to the search engine. When a search engine visits a site, it will first check the site root directory exists robots.txt, if there is, the search engine will be according to the contents of the file to determine the scope of the visit, currently including Baidu's almost All search engines support the robots.txt rules, so we can prevent search engines from indexing spam links by customizing them.

For Z-blog, all of the message links are converted to function/c_urlredirect.asp this redirect file, so we only need to add a row to the robots.txt disallow:/function/c_ Urlredirect.asp allows search engines to not index links to all comments.

  5, prohibit the super link

Prohibit the submission of links in the message, is also a method of anti-spam, for Z-blog users, first install the "Moonlight Z-blog Anti-Spam Filter Plug-in", and then in the "Site Settings Management"-"Antispam settings", "Allow comments included in the number of hyperlinks" set to 0 can be.

  6. Turn off comment function

This is the ultimate move, close the comment, any message mass tool will not be able to send spam comments, for Z-blog, in the "Site Settings Management"-"Global Settings" select "Close comment function" can close the comment.

The above is my summary of the Z-blog system for the anti-spam comments of several methods, for WordPress, the proposed use of Akismet and some Chinese please combination, the effect is good.



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.