Page Not Found when refreshing a page that is not the landing-page

I’ve recently deployed a website on netflify. My issue is that I get an error when refreshing the side when I’m NOT on the landing page (eg

The error message is :
“Page Not Found
Looks like you’ve followed a broken link or entered a URL that doesn’t exist on this site.”
The link takes you back to the landing page were you obviously can refresh the site.

I do not have this problem when I run the site locally on my computer.
Do you have any idea where I can start looking after this issue?

It’s a Vue application and I have set my publish directory to dist and my build command is npm run build.

Kind regards,

hmm, that’s annoying!

Did you see this article? It might be relevant.

if not, please let us know.


Thank you so much!
This solved my problem.

1 Like

awesome. glad it’s working now!

thanks, totally solves the problem


I’m not doing the deployment from git, I do it by dragging it into the dist folder. I have to put _redirects file inside dist, right? Because that’s what I did and it’s still the same.

Hi, @alcidesrope. I see that rule working correctly for your site now. Did you make another change?

Hello. Yes, it is working, I had to put the file in plain format. The solution with the redirect works perfectly, thanks.

1 Like