I have converted my .Net 4.7 web application to a blazor application. When I am upgrading my clients, if someone had a link to the old application such as https://gosomewhere.com/default.aspx and now because of blazor routing, it would just go to https://gosomehwere.com and it knows the route.
How can I re-route someone on a 404 error that is a Blazor Server application to the home page which is the login page?