plugin-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.
Version
1.0.2
Senast uppdaterat
Dec 17, 2025

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.

Gratispå betalda paket
Testat upp till
WordPress 6.9.4
Detta tillägg är tillgängligt för nedladdning för din .