# Ionic deployment problem

**URL:** <https://answers.netlify.com/t/ionic-deployment-problem/48296>\
**Category:** Support\
**Tags:** deployment, netlify-newbie\
**Created:** [December 4, 2021, 7:09pm UTC](https://answers.netlify.com/t/ionic-deployment-problem/48296 "2021-12-04T19:09:39Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![luke](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/luke/32/39_2.png) [@luke](https://answers.netlify.com/u/luke)\
**Post date:** [December 7, 2021, 9:50am UTC](https://answers.netlify.com/t/ionic-deployment-problem/48296/8 "2021-12-07T09:50:31Z")

</div>

Hi, @jasper-bot. Your site uses client side routing in the javascript. In order for this to work for direct links, a special “single-page application” (SPA) redirect rule is required.

There is a support guide about this here:

> [@\[Support Guide\] Direct links to my single page app (SPA) don't work](https://answers.netlify.com/t/support-guide-direct-links-to-my-single-page-app-spa-dont-work/126):
>
> Last reviewed by Netlify Support - August, 2023 If you’re building a Single Page Application (SPA), or an app that manages its own routes (url paths), you’ll want to add a \_redirects file to your [publish directory](https://docs.netlify.com/configure-builds/overview/#definitions-1) with the following line to take advantage of browser history pushstate: /\* /index.html 200 You can read more information in our docs, which can be found [here](https://docs.netlify.com/routing/redirects/rewrites-proxies/#history-pushstate-and-single-page-apps).

If you create that redirect, the direct links will work as required. If this doesn’t resolve it or if there are other questions, please let us know.

---

_[View the full topic](https://answers.netlify.com/t/ionic-deployment-problem/48296)._
