Disable REST API for Real
Really prevents the REST API from handling requests (default) or require user to be logged in.
Consider an alternative
Disable REST API for Real shows warning signs in 2026 — compare the alternatives below before installing. It runs on 200+ sites, is rated 5/5 and was last updated 7 years ago, and scores 33/100 on our health check.
- Small user base (200+ active installs)
- Very few reviews so far
- No update in 7 years
- Only tested up to WordPress 5.3 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Disable REST API for Real stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| api | >100 |
| JSON | >100 |
| rest | >100 |
| rest-api | >100 |
| wp-json | >100 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 3 reviews
About Disable REST API for Real
From the official readme · v2.1.1Description
The WordPress REST API is a great resource, but if you don’t want to use it probably you will want to close this door to your WordPress.
Unlike other popular plugins that aims to disable the REST API but only return an error, processed by the REST API, when a request is received, by default, this plugin removes all filters and actions related to WordPress REST API, and returns a 404 error for requests sent to the REST API URL endpoints, effectively blocking any use of the REST API.
Optionally you can set the REST API setting in Settings -> General page to “Logged In Only” for a less drastical action, to keep REST API access enabled but require the user to be logged in to accept the requests.
If you’re happy with the plugin please don’t forget to give it a good rating, it will motivate me to keep sharing and improving this plugin (and others).
SUPPORT: If you have any support question, please create an issue at the Github repository.
Requirements
- WordPress 4.7 or higher.
Features
- Disable WordPress core REST API for real by removing all filters and actions related to it and returning a 404 error for requests sent to REST API URL endpoints (e.g. https://example.com/wp-json/whatever ).
- Option to require user to be logged in to use the REST API instead of completely disable it.
Usage
To disable the REST API completely simply install the plugin from the Plugins page and enable it.
If you don’t want to disable the REST API but require user to be logged in instead, go to Settings -> General page and set the REST API to option to “Logged In Only”, and click Save Changes.
You can change the option back to “Off” if you want to disable the REST API again.
To return to WordPress default, simply deactivate the plugin.
Changelog
Complete rewrite of the plugin to really disable REST API and removed support for WordPress 4.6.1 and older versions.
2.1.1
- Fixed typo. Thanks to Mike D for reporting it.
2.1
- Minor changes to make code 100% WordPress Coding Standards compliant.
2.0
- Added option in Settings -> General page to choose between completely disable the REST API (default), or “Logged In Only” to keep REST API access enabled but require the user to be logged in to accept the requests.
- Removed support for WordPress 4.6.1 and older.
1.0
- Initial release.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Disable REST API for Real alternatives
All api plugins →FAQ
Disable REST API for Real: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Disable REST API for Real free?
Yes. Disable REST API for Real is free to download and use from the official WordPress.org plugin directory.
Is Disable REST API for Real safe to use in 2026?
Disable REST API for Real shows warning signs in 2026 — compare the alternatives below before installing. It runs on 200+ sites, is rated 5/5 and was last updated 7 years ago, and scores 33/100 on our health check.
How many websites use Disable REST API for Real?
Disable REST API for Real is active on 200+ WordPress websites and has been downloaded 6,562 times since it launched in December 2015. It was downloaded 182 times in the last 30 days.
Does Disable REST API for Real work with WordPress 7.1?
Disable REST API for Real is officially tested up to WordPress 5.3.28, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Disable REST API for Real last updated?
The latest version, 2.1.1, was released on November 14, 2019 (7 years ago).
Who makes Disable REST API for Real?
Disable REST API for Real is developed and maintained by Samuel Aguilera.
What are the best alternatives to Disable REST API for Real?
The most popular alternatives to Disable REST API for Real are WP Consent API (300K+ installs), Disable REST API (80K+ installs) and Mailgun for WordPress (70K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card


