Home / Questions / Why is the WordPress REST API not working?
Why is the WordPress REST API not working?
When the REST API fails, apps, the block editor and some plugins stop working. Permalinks, security plugins and blocked requests are the usual causes.
The WordPress REST API lets the block editor, plugins and apps read and save data. If it fails, you may see “rest_no_route” errors, a broken editor or a form that does not save.
Quick checks
- Open
yoursite.com/wp-json/in a browser. A page of JSON means the API works. - If you see a 404, go to Settings > Permalinks and click Save. Plain permalinks (“?p=123”) also break the API, so use a named structure.
- Disable security plugins that block requests from logged-out users or change the API.
Ready to act on this?
Get a written review of your site, or send us your question and we will reply within 24 hours.
When it still fails
Check that .htaccess passes wp-json requests to WordPress. Some hosts also block the REST API at the firewall. Ask your host to confirm the path is open.
If a plugin or form depends on it and still fails, contact us with the address and the error message.
Related services
Related questions
Not sure where your site stands?
Send us the details and we will reply within 24 hours with a clear next step.