PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. 404
  4. REST API Only
REST API Only icon

REST API Only

Force all non-admin, non-AJAX, and non-REST API requests to return a 404 for headless or API-only sites.

By jakubkanna·404·Free
00
·0 active installs·Updated 3 months ago
DownloadVisit HomepageCompare

As of April 2026, REST API Only is a WordPress 404 plugin with 0 active installations and a 0/5 rating0. It has been downloaded 141 times in total. Requires WordPress 5.0+ and PHP false+. Available on WordPress.org since 2025. Top alternative: Redirection.

0/5Rating
0active installs
141total downloads
1 yearsince 2025

Overview

This plugin forces all non-admin, non-AJAX, and non-REST API requests to return a 404 status code.
Ideal for headless WordPress environments or sites that should expose only the API.

Read full description on WordPress.org

Ratings & Reviews

00 reviews
5 ★
0
4 ★
0
3 ★
0
2 ★
0
1 ★
0

Compatibility

WordPress5.0+ requiredTested up to 6.9.4
PHPfalse+ required

Top Alternatives to REST API Only

Redirection icon
Redirection
4.42.0M+ installsUpdated 1 month ago
ViewCompare
Redirection icon
Redirection
5100K+ installsUpdated 4 weeks ago
ViewCompare
Smart Custom 404 Error Page icon
Smart Custom 404 Error Page
4.9100K+ installsUpdated 8 months ago
ViewCompare
404 to 301 – Redirect, Log and Notify 404 Errors icon
404 to 301 – Redirect, Log and Notify…
4.6100K+ installsUpdated 3 months ago
ViewCompare
WP 404 Auto Redirect to Similar Post icon
WP 404 Auto Redirect to Similar Post
4.930K+ installsUpdated 4 months ago
ViewCompare
View all 404 plugins →

Frequently Asked Questions

Changelog

1.0.2

  • Updated plugin author attribution to Studio JKN with author URL.
View full changelog on WordPress.org

Contributors

jakubkannajakubkanna
Plugin Info
Version
1.0.2
Last Updated
Dec 17, 2025
WP Requires
5.0+
Tested Up To
6.9.4
PHP Requires
false+
Active Installs
0
Downloads
141
Added
Dec 16, 2025
Business
Free

Tags

404apirestheadlesssecurity

Developer

J
jakubkanna
3 plugins0
View all plugins →

Quick Compare

REST API Only vs Redirection→REST API Only vs Redirection→REST API Only vs Smart Custom 404 Error Page→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.