dev-resources.site
for different kinds of informations.
Fix Page not found error when visiting a route directly in react
Published at
8/9/2022
Categories
react
router
pagenotfound
production
Author
chiboycalix
Author
11 person written this
chiboycalix
open
Have you ever gotten the dreaded "sorry page not found" error when visiting a particular route by entering its url directly in your browser tab after pushing your react app to production(netlify for instance)?.
There is a quick fix you can use to resolve the issue.
create a file called _redirects
in your public folder and add this line of code
/* /index.html 200
.
This should fix your error.
Thanks for reading.
production Article's
30 articles in total
The Making of the Zip Ship Hi-Tech Ultimate Go-Cart Indiegogo Campaign Video
read article
Synchronize Files between your servers
read article
Dulces Suenos Spanish Pop (Sample Packs)Download
read article
PostgreSQL fΓΌr django aufsetzen - django in Produktion (Teil 2)
read article
Industrial Juicers: Enhancing Juice Production Capabilities
read article
Cloudflare Tunnels VS ngrok
read article
In Laravel, always use the env() within config files and nowhere else.
read article
How to Set Up Multiple PostgreSQL Instances on a Single Server
read article
Use same Dockerfile for Dev & Production
read article
Integrating Vite with Flask for Production
read article
Everybody Dumps Production At Least Once
read article
The Dangers of Using the Same Database for Development and Production
read article
Dev Deletes Entire Production Database
read article
Mastering Chrome DevTools: Edit production code on-the-fly in your browser βοΈ
read article
Best way to run Migrations in Production
read article
Why should you use a hidden replica set member
read article
Software upgrade checklist in production
read article
Running CockroachDB on k8s - with tweaks for Production
read article
Where engineering and creative production worlds clash!
read article
Increasing Product Release Velocity by Debugging and Testing In Production
read article
Next.js in Production: Best Practices and Common Pitfalls
read article
Deploy a containerised Fast API application in Digital Ocean
read article
Production incidents - 7 practical tips to help you through your next incident
read article
Fix Page not found error when visiting a route directly in react
currently reading
AWS Amplify - Deploy your application in minutes.
read article
Trying Streamyard for various things
read article
How to deal with data changing and machine learning models doing worse after training
read article
[BTY] Day 10: Real-time machine learning: challenges and solutions - Huyen Chip
read article
Installing Gem in Production Rails console
read article
Production-Ready Docker Configuration With DigitalOcean Container Registry Part I
read article
Featured ones: