I’ve changed my angular app from using hash (#) to non-hash and everything works perfectly.
Some of my users have bookmarked the site with the hash, and therefore I would like to redirect all hash routes to a non-hash route.
I can do it in the code, but I prefer to do it before, because of SEO considerations. Maybe at the level of Heroku?
2
Answers
Try this
Let me know in case of any doubt.