How To Stop WordPress Spam Comments Made via REST API?

No matter what kind of website you are running, dealing with WordPress spam comments can be a nuisance. But fortunately, there is a very quick & easy fix for this problem. You won’t have to disable all comments on your website, or worry about moderating each comment one by one. 

WordPress Spam Comments REST API

Today, we will show you how you can disable all WordPress spam comments made via REST API and protect your website with a single click.

3 Ways WordPress Spam Comments Can Hurt Your Website

You probably know by now that WordPress spam comments are not just irritating, they can also cause lots of problems for your website. Still, some people feel that it is alright to ignore these spammers, usually because their website is new or they have low engagement. Here are some reasons why you should take immediate action to block spam comments on your WordPress website.

Spam Comments Will Reduce Your Search Engine Ranking

WordPress Spam Comments REST API

One of the biggest issues with allowing spammers to leave comments on your website is that they will reduce your search engine ranking. In the long run, you will not be able to get good traffic to your website, and your content may not show up at the top of the search results page.

Risks Of Losing Credibility And Authenticity

When other legitimate readers go through your website content and see that it is littered with comments from spammers, they will not see you as a reliable source. They will also not want to link back to your website or blog posts, or recommend your website to others.

Spammers Can Link To Malware-Infected And Phishing Websites

How To Stop WordPress Spam Comments Made via REST API? 1

Another reason why spam comments are a cause for concern is that a lot of spammers often leave redirect links to websites that are infected with malware. They can also redirect to phishing websites and expose you to cybersecurity risks.

Why Should You Block Comments Made Using REST API?

Although there are several, tried-and-tested methods for preventing spam comments, you should definitely take steps to block comments made via REST API on your website. This is an interface that is mostly used by developers to interact with a website from outside the WordPress installation.

In other words, with REST API, anyone can get access to your website using a third-party website, or application. Spammers can use this method to steal traffic from your website or to expose your and your site visitors to security risks. So even if you disable commenting on your website, spammers can use REST API to leave spam comments on your posts and pages.

That’s why it’s not simply enough to moderate comments individually or disable all comments completely. You should take steps to block comments made via REST API to prevent losing traffic and to secure your website.

How To Prevent WordPress Spam Comments Made via REST API?

There’s an easy, simple solution for preventing WordPress spam comments that were made via REST API. You won’t need any technical knowledge or skill to do this. Using Disable Comments, one of the most popular, free WordPress plugins for preventing spam comments, you can instantly block all WordPress spam comments made via REST API.

Over 1 million people use Disable Comments to protect their websites from spam comments. With the release of Disable Comments 2.0, you now have the option to block all WordPress spam comments made via REST API with a single click. Here’s how you can do this.

WordPress Spam Comments REST API

Step 1: Install Disable Comments WordPress Plugin

First, you need to head over to your WordPress dashboard and install and activate Disable Comments plugin on your website. 

WordPress Spam Comments REST API

Step 2: Disable WordPress Spam Comments via REST API

Afterwards, navigate to Settings→ Disable Comments from your WordPress dashboard as shown below. From here, scroll down the page until you see the section called ‘Disable Comments With API’. In this section, there is an option to ‘Disable Comments via REST API’. Simply toggle to enable this option and you will be able to stop WordPress spam comments made via REST API.

How To Stop WordPress Spam Comments Made via REST API? 2

That’s it! With just one click, you can block any spam comments made on your site via REST API if you use Disable Comments. Now you don’t have to worry about moderating all comments individually. By disabling comments via REST API, you are one step closer to protecting your website from spammers.

We hope you have found this quick tutorial useful. Try out all the other features of Disable Comments for free, and share your experience with us in the comments below. For more fun tutorials, news and trips and tricks, make sure to subscribe to our blog or join our friendly Facebook Community.



Tanaz is a content creator who has a passion for writing--be it for tech products, book reviews, or film recommendations. She has a Bachelor's degree in Business Administration with a major in Marketing. Her hobbies include blogging, reading, and obsessing over all things Disney

Share This Story

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Wait Up!

Don’t Miss The Best WordPress Deals