WordPress: /wp-json/ returns 404 despite a running blog
REST API WordPress does not respond under standard path, although the subpages look correct.
How to identify the source of the problem
Check rewrite rules, permalinks and endpoint response with rest route parameter.
Check the bug log, recent plugin changes and the environment version on the site test copy.
Repair steps
Restore the appropriate rules for rewriting addresses and check the webserver configuration.
How to Test Solution
REST index returns the correct JSON and private operations require authentication.
Security and restrictions
Make a backup before you migrate or update PHP. Do not enter access data in untrusted forms.