[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2007-11-01。"],[[["\u003cp\u003eWebsite owners can mitigate comment spam by utilizing tools like CAPTCHAs and enabling comment moderation features within their content management systems.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003enofollow\u003c/code\u003e attribute can be employed to prevent search engines from considering links within comments when calculating page rankings, thereby reducing the impact of spam.\u003c/p\u003e\n"],["\u003cp\u003eWebsite owners have the option to block search engine access to comment sections using robots.txt or meta tags to further minimize the negative effects of comment spam.\u003c/p\u003e\n"],["\u003cp\u003eDisabling or limiting comment features altogether can be a viable solution if they are deemed unnecessary or difficult to monitor effectively.\u003c/p\u003e\n"],["\u003cp\u003eIf technically feasible, modifying server configurations to remove HTML tags within comments can prevent spammers from posting active hyperlinks.\u003c/p\u003e\n"]]],["To combat comment spam, consider disabling unnecessary comment sections or improving existing ones. Implement anti-spam tools like captchas and enable comment moderation to manually approve posts. Utilize the `nofollow` attribute to prevent spam links from impacting PageRank. Block comment pages via `robots.txt` or `meta` tags to prevent indexing. If possible, configure your server to disallow hyperlinks in comments to reduce the effect of spam.\n"],null,["# Simplified Chinese blog: Tips for reducing comment spam\n\n2007-11-01\n\n\nComments are a great way for webmasters to build visitor communities. Unfortunately, as most\npeople already know, comments are also commonly abused by spammers posting overwhelming numbers\nof links to their own websites. Some use scripts or other software to generate and post gibberish\ncomments. At Google, we've been working hard to counter the negative effects of this spam on our\nsearch results. Here are some tips for preventing comment spam on your blog or website:\n\nUse comments only when they're necessary\n----------------------------------------\n\n\nThink twice before deciding to enable a guestbook or comments. If this feature is not really\nnecessary or you will not be able to monitor the guestbook and comments regularly, consider\ndisabling it. If you already have a guestbook, check to see if it's useful to visitors, and if\nthey've been visiting it. If not, consider ways to improve the comments/guestbook feature, or\nremove it. A lot of spam comments don't create a good impression. Most blogging software will\nlet you turn comments off for individual posts.\n\nUse anti-comment spam tool\n--------------------------\n\n\nMost website development tools, especially blog tools, have functionality that requires users to\npass a check to make sure they're a real live human, not a nasty spamming engine. You'll have seen\nthese: generally the user is presented with a distorted image or captcha and asked to type the\nletters or numbers she sees in the image. This is a pretty effective way of preventing comment\nspam. The process may reduce the number of casual readers who leave comments on your pages, but\nit will definitely improve the quality of the comments. WordPress has a good introduction to\n[plugins and anti-spam tools](https://codex.wordpress.org/Plugins/Spam_Tools).\n\nTurn on comment moderation\n--------------------------\n\n\nComment moderation means that no comments will appear on your site until you manually review and\napprove them. This means you'll spend more time monitoring your comments, but it can really help\nto improve the user experience for your visitors. It's particularly worthwhile if you regularly\npost about controversial subjects, where emotions can become heated. It's generally available as\na setting in your blogging software, under **Comments**.\n\nUse `nofollow` Tags\n-------------------\n\n\nTogether with Yahoo! and MSN, Google introduced the `nofollow` attribute a few years\nago, and the attribute has been widely accepted. Any link with the `nofollow` attribute\nwill not be used to calculate PageRank. For example, if a spammer includes a link in your comments\nlike this: `\u003ca href=\"https://www.example.com/\"\u003e`, it will get converted to\n`\u003ca href=\"https://www.example.com/\" rel=\"nofollow\"\u003e` and would not be taken into\naccount when calculating PageRank.\n\n\nBy default, many blogging sites (such as Blogger) automatically add this attribute to any posted\ncomments.\n\n\nFor more information about `nofollow` tags, check out\n[How to Stop Spam Comments](https://googleblog.blogspot.com/2005/01/preventing-comment-spam.html).\n\nBlock comment pages using robots.txt or `meta` tags\n---------------------------------------------------\n\n\nYou can use your robots.txt file to block Google's access to certain pages. This won't stop\nspammers from leaving comments, but it will mean that links in these comments won't negatively\nimpact your site. For example, if comments are stored in the subdirectory **guestbook**, you\ncould add the following to your robots.txt: \n\n```\nDisallow:/guestbook\n```\n\nThis will block Google from indexing the contents of guestbook and any subdirectories.\n\n\nYou can also use `meta` tag to block access to a single selected page, for example\nhttps://www.example.com/article/comments. Like this: \n\n```\n\u003chtml\u003e\n \u003chead\u003e\n \u003cmeta name=\"googlebot\" content=\"noindex\"\u003e\n ...\n```\n\n\nFor more information about robots.txt, check out our\n[Help Center](/search/docs/crawling-indexing/robots/intro).\n\nDisallow hyperlinks in comment\n------------------------------\n\n\nIf you have access to the server, you may want to change its configuration to remove HTML tags\ninside your guestbook. Spammers will still be able to leave comments, but they won't be able to\npublish active hyperlinks.\n\n\nIf comment spam is driving you crazy, try one or two of these methods and see how it works out.\nGot comments or suggestions? Leave them in our\n[Google Webmaster Help discussion group](https://support.google.com/webmasters/community).\n\nposted by Chao Ma and Marina Ma"]]