Hello,
Thank you for contacting Rank Math support and, sorry for any inconvenience this may have caused.
It seems that something is blocking the WordPress API REST.
If you are using a Firewall, please whitelist this route:
/wp-json/rankmath/v1/updateMeta
Whitelisting the route should fix the issue.
You can check this link for more information:
https://rankmath.com/kb/meta-data-not-saving/#firewall
If you are not sure how to do that, get in touch with your web host. They will be able to help you with this.
Hope this helps and please let us know if you need help with anything else.
Thank you for your reply. I took a look at our Cloudflare rules set and added the rules mentioned in your last response: https://ibb.co/dMnZKds
Even after adding them, I still get the 404 for https://audirvana.com/fr/wp-json/rankmath/v1/updateMeta?_locale=user with the response:
No route was found matching the URL and request method.
Hello,
Please take a backup of your .htaccess file and replace it with the default WordPress .htaccess file. You can get the file here: https://wordpress.org/support/article/htaccess/
You can follow this guide to edit the .htaccess file:
https://rankmath.com/kb/edit-htaccess/
Let us know if the issue persists.
We are here to assist you.
Hello Anas, I was wondering if something had to be done on the .htaccess file. Unfortunately we only have one person that can access to this file and he is actually on vacation so as soon as he will come back at the end of the month, I will try to check this issue with him and follow you up about this issue.
Hello,
The route might be returning a 404 error because of some rule on your server which is why we suggested using the default file.
Let us know if the issue is not resolved after switching to default htaccess.
We are here to assist you.
Hello,
We made the change of the htaccess but was not enough. It seems that there is something wrong with our Weglot plugin as we need to have our web browser in English to make RankMath working.
Are you aware of any issue between RankMath and Weglot? Maybe it’s because of their Auto switch feature which redirect visitors based on their browser language?
Hello,
At the moment, we have no reports with regards to Rank Math and Weglot having conflicts with each other.
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.

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/
We really look forward to helping you.
Hello,
I presume you need the administrator access to get those settings, right? I will need to check with my supervisor if he is ok with this as we had security problems in the past with someone that needed to get access to our website as admin.
Hello,
Sure, please confirm with your supervisor and let us know. If you don’t want to share access to your live site, you can create a staging and we can check this there. Here is a guide to help you with the staging site: https://www.wpbeginner.com/wp-tutorials/how-to-create-staging-environment-for-a-wordpress-site/
We really look forward to helping you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.