Title: Turn Off REST API
Author: ksym04
Published: <strong>Març 23, 2017</strong>
Last modified: Juliol 1, 2020

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/turn-off-rest-api.svg)

# Turn Off REST API

 By [ksym04](https://profiles.wordpress.org/ksym04/)

[Download](https://downloads.wordpress.org/plugin/turn-off-rest-api.1.0.4.zip)

 * [Details](https://bal.wordpress.org/plugins/turn-off-rest-api/#description)
 * [Reviews](https://bal.wordpress.org/plugins/turn-off-rest-api/#reviews)
 *  [Installation](https://bal.wordpress.org/plugins/turn-off-rest-api/#installation)
 * [Development](https://bal.wordpress.org/plugins/turn-off-rest-api/#developers)

 [Support](https://wordpress.org/support/plugin/turn-off-rest-api/)

## Description

Turn off JSON REST API on your website to anonymous users and prevent unauthorized
requests from using the REST API to get information from your website.

Since the release of WordPress 4.0 came out, there have been a lot of hackers exploiting
the vulnerabilities of the REST API. By installing this plugin, you will effectively
prevent and disable the use of REST API from unauthorized users and protect the 
information on your website from being accessible. If someone tries to access the
REST API on your site, the plugin will return an authentication error on the API
endpoints, for any unauthorized users trying to access it.

While WordPress REST API vulnerability exploits continue this plugin effectively
prevent and disable the used of REST API from accessing information from your website,
this plugin return authentication error and disable all endpoints for any user not
logged in on your website.

### Translations

 * English (en_US)

## Screenshots

 * [[
 * Test if the wp-json is secured from unauthorized access.

## Installation

 1. Download the plugin via WordPress.org
 2. Upload the `turn-off-rest-api` directory to the `/wp-content/plugins/` directory
    via FTP
 3. Activate the plugin through the ‘Plugins’ menu in WordPress

## FAQ

### How may I know if the plugin is working and my WP REST API is secured?

To test kindly log out and please go to http://[your_website_url].com/wp-json and
check if REST API will return an error that reads ‘Only authenticated users are 
allowed an access on REST API’

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Turn Off REST API” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ ksym04 ](https://profiles.wordpress.org/ksym04/)

[Translate “Turn Off REST API” into your language.](https://translate.wordpress.org/projects/wp-plugins/turn-off-rest-api)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/turn-off-rest-api/),
check out the [SVN repository](https://plugins.svn.wordpress.org/turn-off-rest-api/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/turn-off-rest-api/)
by [RSS](https://plugins.trac.wordpress.org/log/turn-off-rest-api/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.4

 * New – Update license to GPLv3
 * Tweak – Compatibility with WP 5+
 * Tweak – Update language file
 * Tweak – Minor improvements

#### 1.0.3

 * Tweak – Added en_US language file
 * Tweak – Added license file
 * Tweak – Minor code clean up

#### 1.0.2

 * Tweak – Added endpoints admin page
 * Tweak – Minor improvements

#### 1.0.1

 * Tweak – Minor improvements
 * Tweak – Optimized filter implementation

#### 1.0.0

 * Initial Release

## Meta

 *  Version **1.0.4**
 *  Last updated **6 anys ago**
 *  Active installations **100+**
 *  WordPress version ** 4.7 or higher **
 *  Tested up to **5.4.19**
 *  Language
 * [English (US)](https://wordpress.org/plugins/turn-off-rest-api/)
 * Tags
 * [admin](https://bal.wordpress.org/plugins/tags/admin/)[api](https://bal.wordpress.org/plugins/tags/api/)
   [disable REST API](https://bal.wordpress.org/plugins/tags/disable-rest-api/)[JSON](https://bal.wordpress.org/plugins/tags/json/)
   [rest](https://bal.wordpress.org/plugins/tags/rest/)
 *  [Advanced View](https://bal.wordpress.org/plugins/turn-off-rest-api/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/turn-off-rest-api/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/turn-off-rest-api/reviews/)

## Contributors

 *   [ ksym04 ](https://profiles.wordpress.org/ksym04/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/turn-off-rest-api/)