In my angular project i have a menu dashboard , when login it redirects to dashboard but when i remove that dashboard from URL (i.e)before localhost:4200/dashboard, after removed localhost:4200, when refresh how to i navigate to dashboard again? { path: '', redirectTo: '/dashboard', pathMatch: 'full' }, { path: 'login', component: LoginComponent }, { path: 'dashboard', component: DashboardComponent}, { path: '**', redirectTo: 'login' ,pathMatch: 'full' } Continue reading...