Two powerful tools to prevent spam messages

Source: Internet
Author: User
Tags comments

Spam message (Comment Spam), for bloggers, is really a big enemy. I myself suffer from it, every day to delete a large pile of casino, Poker, porn and so on with a long string of links to the message. Today is more exaggerated, a Spamer unexpectedly use the program on my blog Crazy message more than 600, so I have to find a low-cost and efficient way to prevent spam messages. Kung Fu, I finally found two good methods, and successfully applied to my own blog.

First of all, the confirmation code (security Code) is an effective way to prevent-the use of Image display confirmation code (security Code), the system by determining the input of the message to confirm the correct or not to determine whether the message is a real person or a robot-- This way there is no error of judgment. Through the program will not be able to send a large number of spam messages, because the use of artificial intelligence to identify the cost of identification code is very high, the spammers will certainly not be able to do.

Second, the use of nofollow tags to fight spam, which is actually the result of Google development, Google uses a new type of tag to eliminate the spam comment link, use this attribute, the site owner can restrict search engine tracking a link. Displayed as: rel= "nofollow" in the link label. The goal is to stop search engines from searching for junk-indexed comments on blogs. If hyperlinks have nofollow properties, the links are not counted when Google makes a site arrangement for search results. For the blog program, as long as all the links in the comments automatically add rel = "nofollow" attributes can be achieved.

Many people in order to get to their own site to import links, so a large number in the message board, BBS posts, which for the search engine is a spam link. If the station owner sets such a limit, the search engine knows not to index those links.

Of course nofollow This method belongs to a one-size-fits-all way, if set nofollow, all the comment link will not be Google index, this is a little bit unfair to the normal message person. But now the domestic spam message so rampant, I have to "troubled times with heavy pawnage."

Related Article

Alibaba Cloud 10 Year Anniversary

With You, We are Shaping a Digital World, 2009-2019

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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: and provide relevant evidence. A staff member will contact you within 5 working days.