# No routes resolve on SPA with React-router

**URL:** <https://answers.netlify.com/t/no-routes-resolve-on-spa-with-react-router/6359>\
**Category:** Support\
**Tags:** netlify-dns-https-ssl\
**Created:** [December 18, 2019, 1:00am UTC](https://answers.netlify.com/t/no-routes-resolve-on-spa-with-react-router/6359 "2019-12-18T01:00:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![t3db0t](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/t3db0t/32/4960_2.png) [@t3db0t](https://answers.netlify.com/u/t3db0t)\
**Post date:** [December 18, 2019, 1:00am UTC](https://answers.netlify.com/t/no-routes-resolve-on-spa-with-react-router/6359/1 "2019-12-18T01:00:50Z")

</div>

My Netlify instance: [bartleby.netlify.com](http://bartleby.netlify.com) . Everything’s been working swimmingly except now, for some reason, none of the routes that serve using `react-router` are picked up, they all go to the default Netlify “Page Not Found” page. The root works normally. See for yourself: [Bartleby: Professional Writing Software for Ambitious Authors](https://bartleby.netlify.com/register)

Looking at the console, it seems that my app is not loaded AT ALL, so this seems like some kind of domain name issue maybe?

Routes work as expected on my local dev machine. What else can I look for or try?

---

<div class="post-metadata">

**Author:** ![fool](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/fool/32/37_2.png) [@fool](https://answers.netlify.com/u/fool)\
**Post date:** [December 18, 2019, 1:56am UTC](https://answers.netlify.com/t/no-routes-resolve-on-spa-with-react-router/6359/2 "2019-12-18T01:56:36Z")

</div>

Seems like you’re missing the required SPA redirect on that site:

> **[Rewrites and proxies](https://docs.netlify.com/routing/redirects/rewrites-proxies/#history-pushstate-and-single-page-apps)**
>
> Use rewrite rules to fetch a location behind the scenes while the URL in the visitor’s address bar remains the same. Proxy to another service or site.

---

<div class="post-metadata">

**Author:** ![t3db0t](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/t3db0t/32/4960_2.png) [@t3db0t](https://answers.netlify.com/u/t3db0t)\
**Post date:** [December 18, 2019, 4:12am UTC](https://answers.netlify.com/t/no-routes-resolve-on-spa-with-react-router/6359/3 "2019-12-18T04:12:40Z")

</div>

Ah ok—I didn’t realize I needed to do this. Thank you!
