{"id":4907,"date":"2016-10-18T00:21:58","date_gmt":"2016-10-17T23:21:58","guid":{"rendered":"http:\/\/techblogng.com\/?p=4907"},"modified":"2023-04-18T13:39:49","modified_gmt":"2023-04-18T12:39:49","slug":"ways-to-stop-spam-comments-on-wordpress","status":"publish","type":"post","link":"https:\/\/hiideemedia.com\/ways-to-stop-spam-comments-on-wordpress\/","title":{"rendered":"WordPress: Easiest Ways to Stop Spam Comments"},"content":{"rendered":"
Spamming has been one of the most serious problems being faced by all blogging system, in which WordPress is not left out. Though the post or article area is not available for spamming, but the comments area are wide open to those tormentor of the Internet (spammers).
\nMost website and blog owners want to boost their search engine rankings by having many external links pointing to their websites. This is one of the problems why comment spam is now rampant and it is causing many problems for website owners. The annoying part is that most of the spam comments are been posted by bots, making use of different IP's. It won't be an easy task for website owners to sit down and start eliminating spam comments all the time. This will result in wastage of precious time that can even be spent on something else or be used for composing new articles.
\n<\/p>\n
1. You Are Been Referred to as Spammer:<\/strong> Once you are spamming other websites, you will be branded as “Spammer” in your whole life. At least, the blog or website you are promoting will be in trouble. Most people hate spam very much. They may be willing to report your blog or website to your hosting provider or affiliate company about your act. [clickToTweet tweet=”WordPress Tips: Easiest Ways to Stop Spam Comments” quote=”Tell Your Friends about Easiest Ways to Stop Spam Comments on WORDPRESS Blogs.”]<\/p>\n 1. Get Rid of the Website Address Field<\/strong> 2. Make All Comments links Nofollow<\/strong> 3. Disable Comments on Media Attachments<\/strong> 4. Disable Trackbacks<\/strong> 5. Use Captcha Verification<\/strong> 6. Block Sexual and Offensive Words in Discussion Settings<\/strong> 8. You can Use One of the Third Party Comment Systems<\/strong> 9. Install Anti-Spam Plugin<\/strong> More WordPress Tips<\/b> Spamming has been one of the most serious problems being faced by all blogging system, in which WordPress is not left out. Though the post or article area is not available for spamming, but the comments area are wide open to those tormentor of the Internet (spammers). Most website and blog owners want to boost […]<\/p>\n","protected":false},"author":2,"featured_media":9973,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[36],"tags":[],"class_list":{"0":"post-4907","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-blogging"},"acf":[],"yoast_head":"\n
\n2. You Can Get Penalized:<\/strong> If you are promoting your website by leaving useless comments on another website with your website URL, the website owner may report your site to your hosting provider and you may get banned immediately for trying to tarnish the image of their company. This can also lead to Google penalizing you. An
\n3. You are NOT a Professional:<\/strong> Mostly, lazy and unprofessional bloggers and website owners will think of spam commenting as means of promotion. You will also be seen as unprofessional because you are not using content but using tricks to get links and you will never get any trust from visitors again.
\n4. Comment System Trust is Violated:<\/strong> Blog comment system are for expanciating more about the main article and not for posting links. Message boards and even forums are all serving the same purpose. People participated over there believe that they can get valuable information on those places. In other words, if bloggers leave spam comments on those places, they are violating the code of trust in those places.
\n5. Spam Comment can lead to Low Ranking:<\/strong> After adding spam comments to other websites, the links will be regarded as one-way back-links. It will be listed on a higher page result. However, such result will not last long and finally, those spam links will be removed and no back-links to your website anymore.<\/p>\nHow to Deal with Spam Comments on WordPress Blogs<\/h3>\n
\nSome people drop useless comments to promote their products or websites. This mainly happens because of the website address field in available in the comment form. This field will not only invite bot spammers but also the manual spammers.
\nSome spam comments example are; good post, nice article, I have bookmarked your blog, you are such talented blogger, thanks for sharing and lots more. They are just spam comments. New blogger generally gets influenced by such comments and approved them. You can stop those kinds of spam by removing the address field in the comment form.<\/p>\n
\nMaking website comment links dofollow will invite more spammers. So it is advisable to make all comment links\/URL's nofollow. It reveals true commentator.<\/p>\n
\nWordpress by default use to create a page for each attachment ypu upload to your WordPress Blog. Comments might be available on the media's page. This feature have been removed on most of the mew WordPress theme. If you found out your theme still have the feature, just paste the below code in functions.php<\/strong> file in your theme folder. You can also redirect attachments to the article using Yoast SEO plugin to fix this issue.
\n## Disable Comments on Media Attachments
\nfunction filter_media_comment_status( $open, $post_id ) {
\n$post = get_post( $post_id );
\nif( $post->post_type == 'attachment' ) {
\nreturn false;
\n}
\nreturn $open;
\n}
\nadd_filter( 'comments_open', 'filter_media_comment_status', 10 , 2 );<\/code><\/p>\n
\nTrackback is also one of the things that cause spam comments. You can disable it from your WordPress dashboard by; Open WordPress Dashboard >> Under Settings choose Discussion >> Remove tick from Allow link notifications from other blogs (pingbacks and trackbacks) on new articles >> Save changes.<\/em>
\n<\/p>\n
\nUse WP-reCAPTCHA plugin to stop spam comments. This plugin adds verify code option in comment form which shows text or numeric image to verify humanity while commenting. This idea helps you to stop spam comments by bots.<\/p>\n
\nYou might have noticed most of the spam comments contents offensive or sexual words. Most of the illegal websites domain contains such words. It is bad for the blog reputation. So you can block comments containing such word just by adding a list of such words in the blacklist under the discussion settings. You can also use this to block certain IP address. Just put IP you wanna ban in the blacklist and save the settings. Note that it is One word per line.
\n
\n7. Stopping Spam Comments Using .htaccess<\/strong>
\nTo stop spam comments with htaccess simple grab the IP address of the spammer. Then add the code inside your blog htaccess file and save. Replace xxx.xxx.xxx.xxx with the IP address of spammers you want to block. You can add multiple IP addresses in same code.
\n order allow,deny
\ndeny from xxx.xxxx.xxx.xxx
\ndeny from xxx.xxxx.xxxx.xxx
\nallow from all
\n<\/code><\/p>\n
\nIf you are fed up of the spam comments you can make use of other comment systems on your WordPress Blog. Other comment system includes; Facebook Comment System and Disqus Comment System.<\/p>\n
\nYou can also install any anti-spam plugin to reduce spam comments. Akismet is a good option but there are more other plugins in WordPress Repository plugin page that can perform similar tasks.<\/p>\n
\n– How To Choose A Better Platform; WordPress, Magento or Drupal?<\/a>
\n– Best Adsense or Ads Optimized WordPress Themes to Boost Revenue<\/a>
\n– Why CommentLuv is Important for WordPress Blog<\/a>
\n– On Page SEO Tips to Rank Higher on Search Engines<\/a>
\n– How to Recover Social Share Counts After Changing Permalinks or Protocol<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"