showing a “WordPress REST API is blocked” error
-
Hi, SiteGround Optimizer is showing a “WordPress REST API is blocked” error and won’t let me enable caching.
I’ve tested /wp-json/wp/v2/posts directly — it works fine externally.
I’ve also added the sgo_rest_api_check_override filter in both functions.php and as a must-use plugin, but the plugin still thinks the REST API is blocked.
Can you please check if ModSecurity or another WAF rule is blocking loopback requests or internal REST API checks made by the plugin?
If so, could you whitelist or disable that specific rule?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘showing a “WordPress REST API is blocked” error’ is closed to new replies.