Web & Software Developer

How To Check if WP REST API is Disabled – For Beginners

Here is how a beginner can check if their WordPress website has the WP REST API disabled or enabled.

First, make sure you are NOT logged in to your site.

Then, go to the following web address to test it (be sure to change yourdomain.com to your own website):

yourdomain.com/?rest_route=/

 

The WP REST API is disabled if you get this message at the top of the page:

code: “rest_cannot_access”

 

In Chrome browser, it will look like this:

 

WP REST API Disabled in Chrome browser

 

In Firefox browser, it will look like this:

 
WP REST API Disabled in Firefox browser

 

If, instead, you see other stuff that begins with your website’s name, then the WP REST API is enabled.

By

Questions and Comments are Welcome

Your email address will not be published. All comments will be moderated.

Please wrap code in "code" bracket tags like this:

[code]

YOUR CODE HERE 

[/code]