Relative Content

Tag Archive for reactjswordpresshttp-status-code-404wordpress-rest-apiheadless-cms

Local react app returning 404 – Cannot get /

I’ve built a react front end application that draws data from a Wordpress site via the WP REST API. It was working great for weeks, but I messed with my webpack config and package.json to try to get it working on Atlas through WPEngine. They don’t offer support for trial users. I’ve git pulled down a prior version, but I still can’t get it working locally. My browser isn’t able to find the root. I’ve checked my port and it hasn’t changed. I can’t figure out why it’s not finding the site and just returning 404 in the console and “Cannot get /” in the page. I tried uninstalling and reinstalling all dependencies, too. Any advice? I’m sure I’m missing something stupid.