1

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

3
  • How did you add the route? What’s the code? Commented Jul 15, 2019 at 2:00
  • It is happening inside frontend framework. For example, for vue.js it may be vue-router.
    – lenden
    Commented Jul 15, 2019 at 2:07
  • Possible duplicate of WordPress and VueJS routing problem Commented Jul 15, 2019 at 2:08

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.