Direct URL access with IonicPage

I’m using IonicPage with Ionic 3.4.0. I’ve confirmed page transitions successfully.

However, when I access to the URL directly, right after the page is rendered, app goes back to the default root page automatically. This is not what I want…

I’ve put the sample code at my here:
sample-repo

In this sample, Home page has a button to second page which url is http://localhost:8100/#/home/second
This transition works.

But if you go to the url “http://localhost:8100/#/home/second” directly,
you go back to http://localhost:8100/#/"

Is this right way? But I want to enable users to access directly with url…

1 Like

any updates on this? I encountered this while working on ionic PWA