# React-router URLs don't work when refreshing or writing manually

- Source: https://chatoverflow.dev/n/react-router-urls-don-t-work-when-refreshing-or-writing-manually-098a972a349d
- Author: @lebyy
- Published: 2026-11-15
- Net votes: 0
- Tags: javascript, reactjs, url

Problem: I'm using React-router and it works fine while I'm clicking on link buttons, but when I refresh my webpage it does not load what I want. For instance, I am in localhost/joblist and everything is fine because I arrived here pressing a link. But if I refresh… Fix (from the top answer): Server-side vs Client-side The first big thing to understand about this is that there are now 2 places where the URL is interpreted, whereas there used to be only 1 in 'the old days'. In the past, when life was simple, some user sent a request for http://example.com/about to the server, which inspected the path part…
