🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Konto Get it free
Turn Off REST API icon
aktiv gepflegt Getestet mit WP 7.1 #2 in disable REST API

Turn Off REST API

Disable the WordPress REST API for logged out visitors and lock down your /wp-json endpoints, with a per route allow list so you stay in control.

Aktive Installationen100+100+ Stufe
Downloads · 30d712▲ 3.3× vs prev. 30d
Wertung—0 Bewertungen
Gesundheits-Score68/100Gut
Downloads aller Zeiten4.7KSince Mar 2017
Unterstützung gelöst—Keine aktuellen Threads
erfordertWP 4.7PHP 7.4+
Downloads · 7d87▼ -40.8% week over week
Unser Urteil

Solide Wahl

Turn Off REST API is a solid plugin choice in 2026, with a few things worth checking first. It runs on 100+ sites and was last updated 3 weeks ago, and scores 68/100 on our health check.

  • Aktiv entwickelt – letztes Update vor 3 Wochen
  • Getestet mit dem neuesten WordPress (7.1)
  • Momentum — downloads up 234.3% vs the previous 30 days
  • Kleine Benutzerbasis (100+ aktive Installationen)
  • Bisher sehr wenige Bewertungen

Wie stapelt es sich?

Side-by-side bei Installationen, Updates, Bewertungen und Support

Tägliche Downloads

4896144Aug 31Oct 14Nov 28
Gestern13
Täglicher Durchschnitt (1 Jahr)7
Spitzentag19312.11.2026
Letzte 12 Monate2.4K

Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.

Ranglisten

Where Turn Off REST API stands today

WordPress.org Ranglisten suchen

Live-Position in der Plugin-Suche, Top 100
StichwortPositionKonkurrierende PluginsKategorie
disable REST API #47 2,871 Best disable REST API plugins →
JSON >100 8,696 Best JSON plugins →
rest-api #67 10,000 Best rest-api plugins →
Sicherheit >100 10,000 Beste Sicherheits-Plugins →
wp-json >100 7,715 Best wp-json plugins →

Versionsübernahme

Anteil aktiver Sites pro Release.

  • 1.190.7%
  • 1.09.3%

About Turn Off REST API

From the official readme · v1.1.6

Beschreibung

Turn Off REST API is a lightweight WordPress security plugin that disables the WordPress REST API for visitors who are not logged in. Anonymous requests to your /wp-json endpoints receive an authentication error instead of your site data, while logged in users, the block editor, and your admin area keep working normally.

Because every route is blocked for logged out visitors by default, features that call the REST API on behalf of visitors stop working for them until you allow their routes. This includes the WooCommerce Cart and Checkout blocks and Contact Form 7 form submissions. The FAQ below shows exactly which routes to allow.

By default WordPress exposes a large amount of information through the REST API, including your list of user accounts and usernames, published content, and details about your site. For most sites that open, unauthenticated access is unnecessary and only widens the attack surface for user enumeration and content scraping. Turn Off REST API closes the WordPress REST API to the public in one click, then gives you a clear settings screen to reopen only the specific REST API routes you actually need.

Why turn off the WordPress REST API?

  • Stop anonymous user enumeration through /wp-json/wp/v2/users.
  • Reduce your attack surface against REST API based exploits and bots.
  • Keep your content and site data from being scraped through the public API.
  • Stay in control with a per route allow list instead of an all or nothing switch.

Was es tut

  • Returns an authentication error for unauthenticated REST API requests.
  • Optionally removes the REST API discovery links and headers from your page source.
  • Lets you build an allow list of routes that should stay public (for example a contact form or a specific integration).
  • Adds a Site Health check so the restriction is clearly explained and never mistaken for a fault.
  • Keeps the admin area, the block editor, and logged in functionality fully working.

Built for control, not breakage

Some security plugins disable the REST API completely and break the block editor or third party integrations in the process. Turn Off REST API only blocks unauthenticated access, and the per route allow list means you can whitelist exactly the endpoints a service needs without opening the whole API back up.

Developer friendly

The access decision runs through the tora_grant_rest_api filter, so developers can extend or override the logic for custom roles, application passwords, or trusted requests.

Installation

  1. In your WordPress admin, go to Plugins, then Add New.
  2. Search for “Turn Off REST API”.
  3. Click Install Now, then Activate.
  4. Go to Settings, then Turn Off REST API to review the route allow list. Unauthenticated access is disabled by default. If your site uses the WooCommerce Cart or Checkout blocks or Contact Form 7, allow their routes as described in the FAQ.

Manual installation:

  1. Download the plugin zip from WordPress.org.
  2. Upload the turn-off-rest-api folder to /wp-content/plugins/.
  3. Aktivieren Sie das Plugin über das Plugin-Menü in WordPress.

Änderungsprotokoll

Security fixes: logged out visitors could use ?_embed to read routes you had not allowed, such as author profiles, and ?rest_route=// showed the route list. If a headless front end needs embedded authors, images, or terms, allow those routes too (see the FAQ).

1.1.6

  • Fixed – security: when you allowed a content route such as /wp/v2/posts, a logged out visitor could add ?_embed to the request and get the data of routes you had not allowed, such as the post author’s user profile, the featured image, and the post’s categories and tags. Each embedded item is now checked against your allow list too. An item from a route you have not allowed appears as an authentication error (status 401) inside the response instead of its data, and the rest of the response is unchanged.
  • Fixed – security: a REST API address made only of slashes or backslashes, such as ?rest_route=//, showed logged out visitors the list of every REST API route on your site even when that list was blocked. It is now blocked the same way as /wp-json/.
  • Note – if your site shows posts to logged out visitors through the REST API with ?_embed (a headless front end or a JavaScript theme), and it needs embedded author names, featured images, or terms, allow those routes as well. The FAQ explains how.

1.1.5

  • New – When WooCommerce is active and its cart and checkout routes are blocked, the settings screen explains that logged out shoppers cannot use the Cart and Checkout blocks, and offers one button that allows only the Store API routes those blocks use (cart, checkout, order, and batch).
  • New – The WooCommerce Store API routes (/wc/store/v1) now appear in the route list. WooCommerce does not load them in the dashboard, so before this they could not be ticked here.
  • New – The same one-click fix for Contact Form 7, which needs its form feedback routes to send forms for logged out visitors.
  • New – Right after activation, a one-time notice on the Plugins screen says the REST API is now blocked for logged out visitors, with links to the settings and to a quick test.
  • Fixed – security: an allowed batch route (the WordPress /batch/v1 route or the WooCommerce /wc/store/v1/batch route) let logged out visitors reach routes inside the batch that were not allowed. Every request inside a batch is now checked against your allow list, and a batch that asks for any route you have not allowed is refused as a whole before it runs.
  • Fixed – When code on the site used the tora_grant_rest_api filter to open the REST API to everyone, the settings screen and Site Health still said it was restricted. Both now report the real state.
  • Fixed – Saving the settings with no route ticked showed “Default settings restored” instead of “Settings saved”.

1.1.4

  • Tested with WordPress 7.1.2.
  • Fixed – security: when another security plugin or your own code had already blocked a REST API request from a logged out visitor, this plugin could lift that block and let the request through. The earlier block is now always kept.
  • Fixed – the option to hide REST API discovery links and headers now also removes the REST API link that WordPress sends in the headers of every page. Before, only the links in the page source were removed.
  • Fixed – the settings screen no longer stops with an error when a save request contains malformed route data. Such a request is treated like one with no routes ticked.
  • Tweak – removed support code for WordPress versions older than 4.7, which the plugin already required.

1.1.3

  • Fixed – WordPress 6.7 and newer logged a “translation loading was triggered too early” notice for this plugin on sites with debugging enabled. The plugin name was being translated while the plugin loaded, before WordPress is ready to serve translations.
  • Tweak – the version used to cache bust the settings screen assets now comes from a single source, so it can never fall out of step with the plugin version again.
  • No change to how the REST API is protected.

1.1.2

  • Tested with WordPress 7.1.
  • Fixed – a PHP notice on PHP 8.2 and newer, caused by a plugin property being created on the fly instead of being declared. On a future PHP 9 this would have stopped the plugin from loading.
  • Fixed – the settings screen stylesheet and script were still labelled with the previous version number, so browsers could keep serving the old cached files after an update.
  • No change to how the REST API is protected.

1.1.1

  • New – A “More on DopeThemes” panel on the settings screen with free plugins, code snippets, themes, and tutorials. No change to how the REST API is protected.

Vollständiges Änderungsprotokoll auf WordPress.org →

Screenshots

A logged out visitor opening /wp-json gets an authentication error (status 401) instead of your site data.
A logged out visitor opening /wp-json gets an authentication error (status 401) instead…

Für Entwickler

Ist das dein Plugin? Zeigen Sie die Zahlen.

Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.

Aktiv installiert Badge Bewertungsabzeichen Gesundheits-Score-Abzeichen

Best Turn Off REST API alternatives

All disable REST API plugins →
Alternativen
Rang Plugin Aktive Installationen Wertung Aktualisierten Gesundheit
1 WpControl – das einfachste Optimierungs-Plugin für WordPress WpControl – das einfachste Optimierungs-Plugin für WordPress Der einfachste Weg, um die Sicherheit, Leistung und Benutzererfahrung Ihrer Website zu verbessern. von Syed Balkhi 200+ ★★★★★★★★★★ 4.5 (2) Vor 5 Jahren 32
3 MaxtDesign REST API Control MaxtDesign REST API Control Full control over your WordPress REST API. Block, restrict, or whitelist endpoints per user… by MaxtDesign 20+ ★★★★★★★★★★ Keine Bewertungen Vor 3 Monaten 63
4 Server Response Server Response Поможет вам скорректировать заголовки ответа сервера и отключить REST API. by seoriver 10+ ★★★★★★★★★★ Keine Bewertungen Vor 9 Jahren 23
5 WPBuoy Endpoint Manager WPBuoy Endpoint Manager View, search, filter, and disable WordPress REST API endpoints. Reduce your attack surface… by Martin Cipriano 10+ ★★★★★★★★★★ 5 (1) Vor 1 Monat 69
6 Caledros Helper Caledros Helper Adds an Admin Menu that allows removing the default block patterns. It also allows… by David Arnado <10 ★★★★★★★★★★ Keine Bewertungen Vor 6 Monaten 43
7 RestArmor Security RestArmor Security Advanced security suite. Blocks REST API, disables XML-RPC, prevents user enumeration, and… by Md. Rakib Ullah <10 ★★★★★★★★★★ Keine Bewertungen Vor 10 Monaten 36
8 3task Doorman: REST API & MCP Access Control 3task Doorman: REST API & MCP Access Control REST API and MCP access control: disable REST API routes for guests, limit AI agents and… von 3task <10 ★★★★★★★★★★ Keine Bewertungen Vor 1 Monat 60
9 Birim REST Lock – Disable REST API & Stop User Enumeration Birim REST Lock – Disable REST API & Stop User Enumeration Disable the REST API for logged-out visitors without breaking forms or the editor. Stop… by Melih Birim <10 ★★★★★★★★★★ Keine Bewertungen Vor 4 Tagen 64
10 WireCore REST Control WireCore REST Control Disable the WordPress REST API selectively – per namespace, route and HTTP method… by WireCore GmbH <10 ★★★★★★★★★★ Keine Bewertungen Vor 3 Wochen 64
11 Disable Settings For WP Disable Settings For WP Disable Settings For WP is a WordPress plugin that allows you to disable right-click… by Harsh Gajipara <10 ★★★★★★★★★★ Keine Bewertungen Vor 2 Jahren 21

Fragen und Antworten

Turn Off REST API: quick answers

Gerade Antworten, gezogen von Live WordPress.org Daten.

Quelle: WordPress.org

Is Turn Off REST API free?

Yes. Turn Off REST API is free to download and use from the official WordPress.org plugin directory.

Is Turn Off REST API safe to use in 2026?

Turn Off REST API is a solid plugin choice in 2026, with a few things worth checking first. It runs on 100+ sites and was last updated 3 weeks ago, and scores 68/100 on our health check.

How many websites use Turn Off REST API?

Turn Off REST API is active on 100+ WordPress websites and has been downloaded 4,731 times since it launched in March 2017. It was downloaded 712 times in the last 30 days.

Does Turn Off REST API work with WordPress 7.1?

Yes. The developer has tested Turn Off REST API up to WordPress 7.1.5, the latest release. It requires WordPress 4.7 or newer.

What PHP version does Turn Off REST API need?

Turn Off REST API requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Turn Off REST API last updated?

The latest version, 1.1.6, was released on November 12, 2026 (3 weeks ago).

Who makes Turn Off REST API?

Turn Off REST API is developed and maintained by ksym04.

What are the best alternatives to Turn Off REST API?

The most popular alternatives to Turn Off REST API are WPControl (200+ installs), MaxtDesign REST API Control (20+ installs) and Server Response (10+ installs).

Angetrieben von PageForge

Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.

PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.

  • CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
  • seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
  • Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
  • Kostenlos auf WordPress.org, keine Kreditkarte

↑↓ bewegen↵ öffnen