404 error - Wordpress as backend for SPA - problem of 404 page for custom routing

I'm going to use wordpress as backend rest api and vue.js (it doesn't matter what framework) as frontend part.

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

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745322822a4622518.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信