Only home page displays after deploying

Hello there, I am using netlify for the first time and I was able to get it right after trying a few times and researching the errors I was getting. Now the site is fully deployed but only the home route works, the other routes are not working.
I get this message: “Looks like you’ve followed a broken link or entered a URL that doesn’t exist on this site.”

Hi, @Aleshsparrow, this type of issue is nearly alway because the site/app using client side routing.

If this is the root cause, the solution is to add this single redirect rule:

In _redirects file format, that rule looks like this:

/*    /index.html   200

If adding that rule doesn’t resolve the issue or if there are questions about how to add it, please let us know.

Thank you for the quick response, but I am not sure where the code should be added.

Never mind, I figured out where to add the /* /index.html 200. It worked! Thanks a lot!

Hi, @Aleshsparrow, thank you for the follow-up to let us know you got it working. If there are other questions, please feel free to create new topics anytime! :+1:

Will sure do, thanks again!