79823560

Date: 2025-11-18 15:51:31
Score: 0.5
Natty:
Report link

My solution was to return the index.html when 404 happens. It applicable to any SPA apps, not just Angular. I am using Vuejs for example.

P.S. The solution of the accepted answer didn't work for me. I mean it simply redirects to the index.hml, while I want the page to stay with the same url. For example hitting the url mysite/user/123 should show me the user details instead of redirecting to the index.html (home) page.

enter image description here

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • No code block (0.5):
  • High reputation (-1):
Posted by: ADM-IT