title: Angular 2: NavigationCancel - Navigation ID 2 is not equal to the current navigation id 3
body: <p>I'm trying to redirect old URLs (links in email templates) from a previous site to another route like this:</p>
  
  <pre><code>if (route.url.indexOf('/#/') !== -1) {
      this.router.navigate(['/my-route']);
  }
  </code></pre>
  
  <p>However, the navigation gets cancelled with the following reason:</p>
  
  <p><code>Navigation ID 2 is not equal to the current navigation id 3</code>.</p>
  
  <p>Looking at the Angular 2 router source, this happens in the <code>runNavigate</code> method when <code>id !== this.navigationId</code> (<a href="https://github.com/angular/angular/blob/master/modules/@angular/router/src/router.ts#L652" rel="noreferrer">https://github.com/angular/angular/blob/master/modules/@angular/router/src/router.ts#L652</a>). I can't find any information about the <code>navigationId</code> property, why this happens and how to solve it. </p>
  
  <p>Redirects between routes that exist seem to work, but not between these old hashmark URLs and existing routes. Do both routes have to exist in the router to be able to redirect between them?</p>
  
  <p>Help would be very appreciated.  </p>