---
title: "Discussion on \"Fixing 404 Page Not Found Error on Non-Root Route Reload in React\" | Hashnode"
description: "Discussion on \"Fixing 404 Page Not Found Error on Non-Root Route Reload in React\". When deploying a React app with client-side routing to a static hosting service like Netlify, you may encounter a 404 error when reloading pages other than the homepage. This error occurs because the hosting service cannot find the specified route on..."
url: "https://hashnode.com/posts/fixing-404-page-not-found-error-on-non-root-route-reload-in-react/65e5d6dcd47825d8b93f88b1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Fixing 404 Page Not Found Error on Non-Root Route Reload in React](https://yadvirkaur.hashnode.dev/fixing-404-page-not-found-error-on-non-root-route-reload-in-react?utm_source=hashnode&utm_medium=feed)

When deploying a React app with client-side routing to a static hosting service like Netlify, you may encounter a 404 error when reloading pages other than the homepage. This error occurs because the hosting service cannot find the specified route on...

Mar 4, 2024 · 3 min read · yadvirkaur.hashnode.dev  
Read the article

-   [#page-not-found](https://hashnode.com/tag/page-not-found)
-   [#404-page-not-found-error](https://hashnode.com/tag/404-page-not-found-error)
-   [#non-root-route-reload-error](https://hashnode.com/tag/non-root-route-reload-error)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#react-router](https://hashnode.com/tag/react-router)
-   [#404](https://hashnode.com/tag/404)

## Written by

[Yadvir Kaur](https://hashnode.com/@yadvir)

@yadvir

  
[View profile](https://hashnode.com/@yadvir)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
