There is something blocking the WordPress REST API from operating and we rely on it for our interfaces. Check security plugins and .htaccess rules for anything blocking it. Then, clear your browser caching and reload the page. Everything will work just fine.
Hi Hristo,
This is a standard multisite. I don’t see anything blocking REST API.
The only non-standard config in .htaccess is a redirection to www of a couple of sites as instructed by SG and Cloudflare (site is hosted on SG)
Which paths exactly are you trying to reach and getting blocked? I’ll scan the DB and files to see if there’s any block on these.
@hristo-sg I found the problem (should have found it earlier…):
I get 404 on some sg-cachepress files. They all fail because of a wrong path which is generated in // Define root URL. block in sg-cachepress.php
The reason is that I’m using a “shared_plugins” directory which is external to the site root and is linked from wp-content. Your plugin doesn’t use the wp path, but the file system’s absolute path, and therefor it adds a local path to the URL, which leads to 404 requests.
I have the same problem 🙁
See images:
https://ibb.co/Cz31VFS