woocommerce_rest_authentication_error

woocommerce_rest_authentication_error

nginx配置错误导致woocommerce REST API不可用

It was a bad configuration of try_files in nginx:

WRONG

try_files $uri $uri/ /index.php?q=$uri&$args;

CORRECT

try_files $uri $uri/ /index.php$is_args$args;

After changing that everything works perfectly ^^

参考: woocommerce_rest_authentication_error on localhost

版权

评论