Route conflict in Angularjs and Wordpress

Asked

Viewed 77 times

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.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.