Troubleshooting

REST API returns 404 after a caching plugin flush

1 replies

saurabhbhayana19962026-07-11 12:48
Everything worked, then I cleared my cache and now the AI cannot reach /wp-json. Anyone seen this?
saurabhbhayana19962026-07-11 12:48
Yes - some cache/security plugins break the permalink rewrite rules when they flush, so /wp-json/ 404s. Two fixes: re-save your permalinks under Settings > Permalinks (this rebuilds the rules), or the connector will fall back to the ?rest_route= form automatically. If it persists, check that your security plugin is not blocking the REST API.
You need a verified account to reply. Log in or create a free account.