DEV Community

Jorge Madson
Jorge Madson

Posted on

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)