Receiving a 404 Response and Title/Description Are Not Updating

#492116
  • Resolved Web Team
    Rank Math pro

    We are seeing an issue where we are unable to save changes to the title and description of posts using the RankMath plugin. This does not appear to be a firewall issue as I am seeing a 404 error (rather than 403) for requests to the RankMath resource wp-json/rankmath/v1/updatemeta.

    I have tested this locally, with WordPress updated to the latest version and using the default 2023 theme. All plugins have been updated and then disabled. The only plugin enabled is RankMath. It appears that your API captures local requests for RankMath resources and directs them to your servers.

    myDomain.com/wp-json/rankmath/v1/updatemeta --> rankmath.com/wp-json/rankmath/v1/updatemeta

    When I attempt to directly load rankmath.com/wp-json/rankmath/v1/updatemeta I see a 404 from your server as well. The error message associated with the 404 (“No route was found matching the URL and request method.”) is a bit ambiguous but might suggest that the url parameter is the problem.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    If you take a closer look at the route you’ll notice that it’s entirely in lowercase where our REST API route should end like this: updateMeta.

    Please note the uppercase “M” in the route.

    It seems that on your website there’s a redirection or plugin setting all the URLs to lowercase and that causes the issues with the route not being found.

    ​​​​​​​Please make sure that you disable that plugin or redirection rule for the REST API routes.

    Don’t hesitate to get in touch if you have any other questions.

    Thank you for getting back to us regarding this. We recently made a change to use all lowercase and are making a change to accommodate case-sensitive urls.

    Hello,

    Sure, when that is complete and you have made sure that the REST API routes are case-sensitive the update of the data will start working again.

    Don’t hesitate to get in touch if you have any other questions.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello Miguel,

    We made the required change so that the url string is case sensitive but continue to see the same console error.

    Thanks

    Hello,

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.

    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    Looking forward to helping you.

    Thank you.

    Thank you for your help. I am not able to provide you with access, for security reasons, but really appreciate your willingness to help!

    We were able to track down the issue to an internal rewrite error. Between resolving that and the case sensitivity in your urls we have managed to resolve the issue and are achieving the correct functionality.

    Thanks you!

    Hello,

    Glad that everything has been sorted out. If you have any other questions in the future, know that we are here to help you.

    Thank you.

Viewing 8 replies - 1 through 8 (of 8 total)

The ticket ‘Receiving a 404 Response and Title/Description Are Not Updating’ is closed to new replies.