-
Hello,
This ticket is related to this one: https://support.rankmath.com/ticket/wp-json-rankmath-v1-savemodule-is-redirected-to-the-home-page/I’m facing an issue while enabling some modules on “Rank Math > Dashboard”. The problem has to do with the wp-json API: the endpoint “/wp-json/rankmath/v1/saveModule” returns a 404 with a code “rest_no_route”, however going to “/wp-json/rankmath/v1” returns that endpoint as an available endpoint.
My stack is the following:
– Plesk, which has a WAF, and nginx. This not blocking the request, I have tried to disallow it and it stills return 404. On the website logs it is showing the 404 GET and the nginx error: *1828 open() “/var/www/vhosts/domain.com/httpdocs/wp-json/rankmath/v1/saveModule” failed (2: No such file or directory).
– Cloudflare, but only acts as DNS server, it’s not proxying the request, so it should not be interfering here.
– There is no Application WAF installed (Wordfence or similar).I have followed the indications found in the accepted answer of the related post, which were:
– Reset the htaccess for the WP default’s.
– Whitelist routes in application WAF (I don’t have any).But still doesn’t work. Also have tried to troubleshoot the website using the plugin “Health Check & Troubleshooting” and activating only the Rank Math plugin, but the error persists, so for now I know:
– It’s not a problem with htaccess
– It’s not a problem with plugins incompatibilityWhat can I do?
You must be logged in to reply to this ticket.