# How to Check WordPress REST API Discovery Read-Only

https://ferkesh.net/uk/baza-znan/stattia/wordpress-rest-route-read-only-diagnosis

![Four-step workflow. Find API pointer. Check REST index. Compare response. Trace the failing layer.](https://ferkesh.net/kb-media/ferkesh-guide-diagrams-batch-10.svg#wordpress-rest-route-read-only-diagnosis)

Start from a public page on a site you manage and inspect the REST discovery link or HTTP Link header when present. It can identify the site’s actual API root, including a subdirectory or alternate route. Request only the public index using GET. Record the final URL, HTTP status and whether the response is a JSON document with the expected site and namespace information.

Compare that result to the failure in the block editor or an integration. If the index works, examine the exact authorized request in your own browser developer tools and record its status and route without copying cookies or nonces. A discovery failure, a legitimate authorization response and a server error are different outcomes. If a proxy returns an HTML challenge instead of JSON, check its logs and supported behavior on staging.

Use a minimal staging reproduction before changing a plugin or access rule. Preserve authentication for private resources. Confirm the original operation succeeds and recheck signed-out behavior after the fix so working editor access does not expose endpoints that were meant to stay private.

If a public route works and only signed-in requests fail, [diagnose signed-in REST nonce and cache failures](https://ferkesh.net/knowledgebase/article/wordpress-rest-nonce-cache-symptom) with an authorized staging account.

## Related guides

- [How to Read WordPress Site Health Before Moving Hosting](https://ferkesh.net/knowledgebase/article/wordpress-site-health-before-migration)
- [WordPress category](https://ferkesh.net/knowledgebase/category/wordpress)

## Official references

- [WordPress REST API discovery](https://developer.wordpress.org/rest-api/using-the-rest-api/discovery/)

Ferkesh Hosting. Last reviewed November 26, 2026.
