{"id":452,"date":"2016-08-10T16:31:11","date_gmt":"2016-08-10T11:01:11","guid":{"rendered":"http:\/\/bharatiinfotech.com\/blog\/?p=452"},"modified":"2016-08-10T16:41:53","modified_gmt":"2016-08-10T11:11:53","slug":"preventing-spam-comments-in-your-wordpress-website","status":"publish","type":"post","link":"http:\/\/bharatiinfotech.com\/blog\/preventing-spam-comments-in-your-wordpress-website\/","title":{"rendered":"Preventing Spam Comments in Your WordPress Website"},"content":{"rendered":"<p>Spam comments remain a major problem for all WordPress websites. These comments are so universal that you could even receive hundreds of such comments in a week. Spam comments can play havoc with your site credibility and search engine rankings if you fail to stem the spam comment onslaught.<!--more--><\/p>\n<p>However, you can eliminate a vast majority of these spam comments from your website by adopting certain anti spam comment measures. We give below a few successful guidelines that would help you eliminate all unnecessary spam comments.<\/p>\n<p><strong>What are Spam Comments<\/strong><\/p>\n<p>Spam comments are the irrelevant comments posted by bots either to advertise websites or to obtain back links. Having spam comments on your site would mean having back links from spam sites and search engines like Google penalize sites that have links from such sites.<\/p>\n<p>We give below a few suggestions that would help you filter all incoming comments and thus combat the evil of spam comments.<\/p>\n<p><strong>\u00e2\u20ac\u0153Discussion\u00e2\u20ac\u009d Option to Manually Moderate Comments<\/strong><\/p>\n<p>WordPress offers you a \u00e2\u20ac\u0153discussion\u00e2\u20ac\u009d option that allows you to hold your comment for checking whether they are genuine or spam before they are published.<\/p>\n<p>Click on the \u00e2\u20ac\u0153discussion\u00e2\u20ac\u009d option from your WordPress dashboard and you will be redirected to a settings page where you can manually moderate the comments. You will need to enable \u00e2\u20ac\u0153comment must be manually approved\u00e2\u20ac\u009d option \u00c2\u00a0and this will give you \u00c2\u00a0complete control over all the comments that are posted and the freedom to choose if they need to be posted or not in the site.<\/p>\n<h3>Filter all Comments from First Time Comment Authors<\/h3>\n<p>Monitoring all first time comment authors would help you decide whether they are genuine or whether their intention is to post spam comments. You need to enable a section in the WordPress site that stipulates that comment author must have previously approved comment and any first time author that tries to post a spam comment then would automatically get blocked.<\/p>\n<h3>Do not Accept Comments Long after Blog has been Published<\/h3>\n<p>We know that spam comment authors only post comments on sites that have a good page rank and that too weeks after a blog has been published. To ensure that such spam comment authors do not comment on your blog, you can decide a cutoff date after which you stop accepting comments. To do that you can go to WordPress dashboard &gt; Discussion. Under the Other Comment Settings Section, check the option to automatically close comments on articles older than &#8212;- days and fill in the number of days you want the comments to be open<\/p>\n<p><strong>Blacklisting Comments from Certain IP Addresses<\/strong><\/p>\n<p>WordPress allows webmasters to blacklist certain IP addresses from where spam comments have come previously. You can also use content, name, email address and URL to blacklist such spam authors. The method of doing this is similar to what was done for moderating comments using the discussion settings.<\/p>\n<p><strong style=\"line-height: 1.5;\">Install anti-spam plugins<\/strong><\/p>\n<p>WordPress offers a wide range of themes and plugins that help you protect your website against spamming and hacking while improving its overall performance. You could use the anti spam WordPress plugin \u00e2\u20ac\u0153Akismet\u00e2\u20ac\u009d to filter the spam comments. \u00e2\u20ac\u0153Simple Trackback Validation\u00e2\u20ac\u009d plugin is also useful as it filters out spam trackbacks by comparing Ip addresses of the comment author with the web server IP address, the trackback URL is referring to.<\/p>\n<p>Preventing spam comments then will undoubtedly be a continuous battle and you will need to configure your discussion settings in such a way that your site is immune from all such spam comments.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Spam comments remain a major problem for all WordPress websites. These comments are so universal that you could even receive hundreds of such comments in a week. Spam comments can play havoc with your site credibility and search engine rankings if you fail to stem the spam comment onslaught.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[57,56],"tags":[],"class_list":["post-452","post","type-post","status-publish","format-standard","hentry","category-optimizing-website-content","category-website-development","short-story","post-entry","box"],"_links":{"self":[{"href":"http:\/\/bharatiinfotech.com\/blog\/wp-json\/wp\/v2\/posts\/452","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bharatiinfotech.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bharatiinfotech.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bharatiinfotech.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/bharatiinfotech.com\/blog\/wp-json\/wp\/v2\/comments?post=452"}],"version-history":[{"count":4,"href":"http:\/\/bharatiinfotech.com\/blog\/wp-json\/wp\/v2\/posts\/452\/revisions"}],"predecessor-version":[{"id":457,"href":"http:\/\/bharatiinfotech.com\/blog\/wp-json\/wp\/v2\/posts\/452\/revisions\/457"}],"wp:attachment":[{"href":"http:\/\/bharatiinfotech.com\/blog\/wp-json\/wp\/v2\/media?parent=452"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bharatiinfotech.com\/blog\/wp-json\/wp\/v2\/categories?post=452"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bharatiinfotech.com\/blog\/wp-json\/wp\/v2\/tags?post=452"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}