Hi, route order should be manage as per the sequence going to be use and use 'exact'. Because all route can move to default route(404)
<Router>
<Switch>
<Route path="/" exact component={Home} />
<Redirect from="/old-match" to="/will-match" />
<Route path="/will-match" component={WillMatch} />
<Route component={NotFound} />
</Switch>
</Router>
Use default route/404 route at the last