# Nav-URL not setting back if clicked on "(App)Back-Button"

**URL:** <https://forum.ionicframework.com/t/nav-url-not-setting-back-if-clicked-on-app-back-button/102562>\
**Category:** ionic-v3\
**Created:** [August 19, 2017, 6:42pm UTC](https://forum.ionicframework.com/t/nav-url-not-setting-back-if-clicked-on-app-back-button/102562 "2017-08-19T18:42:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bigr](https://avatars.discourse-cdn.com/v4/letter/b/7bcc69/32.png) [@bigr](https://forum.ionicframework.com/u/bigr)\
**Post date:** [August 19, 2017, 6:42pm UTC](https://forum.ionicframework.com/t/nav-url-not-setting-back-if-clicked-on-app-back-button/102562/1 "2017-08-19T18:42:39Z")

</div>

Hi,

i’m not sure if this behavior (bug?) is introduced with the latest version or if it exists for a longer time.

Steps to reproduce:

Ionic version:

```auto
cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils : 1.9.2
    ionic (Ionic CLI) : 3.9.2

local packages:

    @ionic/app-scripts : 2.1.3
    Ionic Framework : ionic-angular 3.6.0

System:

    Node : v8.1.3
    npm : 5.3.0 
    OS : macOS Sierra

```

1. Create a new blank project:

```auto
ionic start TestApp blank

```

1. Generate new page:

```auto
ionic g page test

```

1. Create a button on the homepage which pushes a new page on the nav stack.  
home.ts

```auto
push() {
  this.navCtrl.push('test');
}

```

home.html:

```auto
<ion-content padding>
  <button ion-button (click)="push()">Nav!</button>
</ion-content>

```

1. Start the app in the browser:

```auto
ionic serve

```

1. App starts with the following url:

```auto
localhost:8100

```

1. Press the “Nav!” - Button and the test page is shown with URL:

```auto
localhost:8100/#/test

```

1. Press “Back”-Button (in the app, not browser!), app shows the homepage and the url is:

```auto
localhost:8100/#/test

```

Shouldn’t it be localhost:8100 again? If you have livereload, then the app launches after recompile  
the testpage instead of the homepage!

Cheers,  
Ronny

---

<div class="post-metadata">

**Author:** ![bigr](https://avatars.discourse-cdn.com/v4/letter/b/7bcc69/32.png) [@bigr](https://forum.ionicframework.com/u/bigr)\
**Post date:** [August 19, 2017, 7:11pm UTC](https://forum.ionicframework.com/t/nav-url-not-setting-back-if-clicked-on-app-back-button/102562/2 "2017-08-19T19:11:32Z")

</div>

If you don’t use lazy loaded pages, all works as expected… So is it a bug?
