REST API Only

by jakubkanna · version 1.0.2

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

Active sites
fewer than 10

WordPress.org shows fewer than 10, ranked #49,014 of 80,045 plugins, placed by its minimum. Data collected (UTC). How we estimate

Key facts

As of (UTC), REST API Only runs on fewer than 10 WordPress sites, ranked #49,014 of 80,045 plugins, placed by its minimum.

  • Active sites (2026-11-23): fewer than 10 (WordPress.org shows fewer than 10)
  • Overall rank: #49,014 of 80,045 WordPress.org plugins, placed by its minimum
  • Maker: jakubkanna

Rank in each tag

  1. #941 of 1,876 in security, placed by its minimum
  2. #296 of 555 in api, placed by its minimum
  3. #90 of 197 in 404, placed by its minimum
  4. #86 of 107 in rest, placed by its minimum
  5. #39 of 102 in headless, placed by its minimum

Competitors

  1. date_query enabler: at least 10 sites, at least 1 ahead · Compare
  2. Better REST_APIs for Mobile Apps: at least 10 sites, at least 1 ahead · Compare
  3. WP REST API Security: at least 10 sites, at least 1 ahead · Compare

On WordPress.org

  1. Tested up to WordPress 6.9.12
  2. Requires WordPress 5.0 or newer
  3. Last updated Dec 17, 2025
  4. In the directory since Dec 16, 2025
  5. 418 downloads