1
I’m having a problem with routing in Angularjs and Wordpress. Before I didn’t use the html5Mode(true)
and my route was /#/dashboad
and the route /blog
worked normally. But, when I started using html5Mode(true)
and the route became /dashboard
Angular began to interpret the route /blog
also and started giving error 404 and I can no longer access the blog. I couldn’t find any solution for Angularjs to ignore a route pattern without using the target="_self"
on the link.
Possible duplicate of Route to Angular home page
– celsomtrindade