The REST API
-
This issue is showing in site health of my website Admin:
The REST API did not process the context query parameter correctly.I have seen a fixing for it in https://cloudtech.org/wordpress-sitehealth-shows-restapi-did-not-behave-correctly/
as following:
on Nginx, add a server block to your nginx config:
location ~ ^/wp-json/ {
rewrite ^/wp-json/(.*?)$ /?rest_route=/$1 last;
}I want to ensure from this solution before I follow & apply it to avoid any errors or fail is caused to my website.
if it’s not a right way, please I want a guide to solve this problem.
The page I need help with: [log in to see the link]
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘The REST API’ is closed to new replies.