最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin1浏览0评论

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

发布评论

评论列表(0)

  1. 暂无评论