DEV Community

Usama
Usama

Posted on

🛠️ Fixing a Deployment Error (404 - Page not found)

I ran into a “Page not found” error while deploying my React project to Netlify today.
The build succeeded, but the site threw a 404 when accessing routes — a common issue with SPA routing.

I’m currently fixing it by adding a _redirects file and updating the deployment configuration.
Once everything is live and stable, I’ll share the project link here 🚀

This is just part of the dev journey — break → debug → fix → ship ✅

Top comments (0)