I'm having a problem with routing in AngularJS and Wordpress. Before I did not use html5Mode(true)
and my route was /#/dashboad
and the /blog
route worked normally. But when I started using html5Mode(true)
and the route started to be /dashboard
Angular started to interpret the /blog
route too and started to give 404 error and I can not access the blog anymore. I have not found any solution for AngularJS to ignore a route pattern without using target="_self"
in the link.