I'm going to use wordpress as backend rest api and vue.js (it doesn't matter what framework) as frontend part. I have some custom route on frontend side, e.g. "/custom". Actually it works on my frontend part, but wordpress doesn't know about this route, so I have actually ok page with 404 status code. Is there ok way to solve this? Of course I can just force 200 for any page on wordpress side, but I hope sync solution exists
-
How did you add the route? What’s the code?– Jacob PeattieCommented Jul 15, 2019 at 2:00
-
It is happening inside frontend framework. For example, for vue.js it may be vue-router.– lendenCommented Jul 15, 2019 at 2:07
-
Possible duplicate of WordPress and VueJS routing problem– Jacob PeattieCommented Jul 15, 2019 at 2:08
Add a comment
|