WP API - site.dev/wp-json Returning 404


I noticed that when I setup sites with Local and navigate to

site.dev/wp-json - returns a 404

However, going to an actual endpoints a valid return

site.dev/wp-json/wp/v2/posts = works fine

Any idea if there is a configuration somewhere that might be causing this? Haven’t seen this before with sites installed outside Local.


Hey Zac,

Is this on nginx or Apache?

If you switch web servers does it resolve the issue?