DEV Community

Jorge Madson
Jorge Madson

Posted on

3 2

Easiest way to fix navegation error usign Netlify

Netlify 404 error print screen
So I developed the English Online Games to learn some Vuejs and SPA development, I was proud of my work so published it in Netlify but as soon it ran I got an error.
After searching a lot, I find this much complicated and the easiest way to fix it is by creating a file name "_redirects" in your public folder, like this:

_redirects

/* /index.html 200
Enter fullscreen mode Exit fullscreen mode

Here you can see the file in my repository:

https://github.com/JorgeMadson/englishonlinegames/blob/main/public/_redirects

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay