I recently built Umbraco Site, which is using angular form on the homepage and this angular form navigates between steps, let's say /step1 /step2 and /step3 . Now if user is on /step2 and refreshes the page he will get 404 because Umbraco have no idea angular is taking care of that. Can you please help me make Umbraco return same page (homepage in this case) on several different urls? Than angular will start and pickup the URL.
Umraco angular2
I recently built Umbraco Site, which is using angular form on the homepage and this angular form navigates between steps, let's say /step1 /step2 and /step3 . Now if user is on /step2 and refreshes the page he will get 404 because Umbraco have no idea angular is taking care of that. Can you please help me make Umbraco return same page (homepage in this case) on several different urls? Than angular will start and pickup the URL.
I've never used it but couldn't the urlRewriter in Umbraco work for you? Configure "/step2" to point to "/" (home in this case) ?
yeah, thanks for suggesting that, it works like a charm.
Also I found this quite useful - redirect to HTTPS, if release configuration (you should put it to Web.Release.config) for automatic transformation.
is working on a reply...