Angular 4 routing not works when invoke direct url path

Viewed 1595

I have an angular 4 apps with many routes. My issue is really simple to understand. All routing works fine inside the app. The problem come out when I go directly to a specific url Ex. Base url app is http://myserver/ and when I invoke the url above I see my home page (http://myserver/home) if I invoke a url of a specific path (ex. http://myserver/anotherpathpage) the app redirects me always on the home.

Any idea? I'm using html5 location strategy (no hash in the url) and my base href is "/"

Thanks a lot F

1 Answers
Related