Is there settings which could prevent WP-CLI form working?

[ad_1]

Hi, go to WP Security -> Miscellaneous -> WP REST API and make sure you have not enabled the following feature Disallow Unauthorized REST Requests:.

Let us if this helps you.

Kind regards.

Thread Starter
homu9

(@homu9)

After uncheck Disallow Unauthorized REST Requests, WP-CLI could run with no problem.
Thanks for replying!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer