2

Here is the deal. I have an ionic app that our client open from a link as if it was another web page. But the problem is that if the client reloads the page on this ionic app, they got a 404 error.

I found out that it came from the URL that is modified by ionic (and angular), that looked like this:

http://address/app-directory/www/#/current-page

It's the first app we do in Ionic 5, before, we were using Ionic 3, where the URL looked like that:

http://address/app-directory/www/index.html#current-page

And it worked like a charm.

I tried to find a solution online, and find out these questions:

But they didn't really help. One suggested solution from the questions would be to change the server configuration, but from my current situation, it would be the solution chose only if I can't do it another way.

If it can help, our app paired Ionic 5 with Angular 9.

Pejman Kheyri
  • 4,044
  • 9
  • 32
  • 39
Rorp
  • 126
  • 1
  • 15

0 Answers0