Angular2 without hash in the url
If you are using Angular final, the reasons to the hash could be: RouterModule.forRoot(yourRoutesHere, { useHash: true }) So by removing that could help. RouterModule.forRoot(yourRoutesHere) Alternatively if you in your providers (in NgModule) have used: {provide: LocationStrategy, useClass: HashLocationStrategy} just remove that. EDIT, if you need LocationStrategy, try changing HashLocationStrategy to PathLocationStrategy: {provide: LocationStrategy, useClass: … Read more