plugins - wp rest api (v2) filter not working (404 error - rest_no_route)

Filter for Wordpress rest api not working. I use simple permalink (another one-s not the variant) and my url looks like

Filter for Wordpress rest api not working. I use simple permalink (another one-s not the variant) and my url looks like this: /?rest_route=/wp/v2/posts this request works fine, but when i try to add filter /?rest_route=/wp/v2/posts?filter[numberposts]=10 thats gives me error:

{"code":"rest_no_route","message":"no route was found matching the url and request method","data":{"status":404}}

What is the reason of error? And how can i solve this?

I use nginx 1.10.2, Wordpress 4.7.5

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

相关推荐

  • plugins - wp rest api (v2) filter not working (404 error - rest_no_route)

    Filter for Wordpress rest api not working. I use simple permalink (another one-s not the variant) and my url looks like

    14小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

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

关注微信