I have created a homepage, and there are other pages such as “/register” and others. I can perfectly navigate clicking buttons and links.
Also I have pushState as true so that I can see the complete url.
But whenever I try to navigate to another page, directly from url by writing the whole url, it won’t allow me. It says it cannot get ‘/register’ for example.
What should I modify to fix this?
edit. Already checked other posts, there were 2 people with similar issues. But it is not solved with pushState=true.
I must mention that I am using it with React.