Hello,
We apologize for the issue you are facing with the Rank Math SEO plugin not saving or applying changes after switching hosting. This can happen due to several reasons. Here are a few steps you can take to troubleshoot the problem:
-
Check for JavaScript Errors: Open the Developer Tools Console in your browser (you can do this by pressing Ctrl + Shift + J on Windows or Cmd + Option + J on Mac). Look for any JavaScript errors that might be preventing Rank Math from saving metadata. If you find any errors, please note them down.

-
Firewall Settings: If you have a firewall enabled, it might be blocking access to certain files that Rank Math needs to function properly. Check if Rank Math is being blocked and whitelist the following files if necessary:
/wp-json/rankmath/v1/updateMeta
/wp-json/rankmath/v1/updateSchemas
/wp-json/rankmath/v1/updateRedirection
/wp-json/rankmath/v1/getFeaturedImageId
/wp-json/rankmath/v1/getHead
-
Update Rank Math: Ensure that you are using the latest version of Rank Math. You can check this by navigating to your WordPress Dashboard → Rank Math SEO → Status & Tools → Version Control. If an update is available, please update the plugin.

-
Plugin Conflicts: Sometimes, other plugins or themes can cause conflicts. Try deactivating other plugins temporarily to see if that resolves the issue.
If these steps do not resolve the issue, please reply to this ticket with any error messages you find, and a human agent from the Rank Math Support team will assist you further. Thank you for raising this concern!
Hello,
It seems to be a JavaScript conflict issue.
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.
We’ve checked your site and found that Rank Math REST Routes that we use to update the data are being blocked by your Wordfence firewall and most likely this is why you’re facing the issues.
Please check the screenshot in the sensitive data section for reference.
In order to resolve this issue, please try whitelisting the following Rank Math REST Routes that are being blocked on your firewall.
/wp-json/rankmath/v1/updateMeta
/wp-json/rankmath/v1/updateSchemas
/wp-json/rankmath/v1/updateRedirection
You may try following this link to learn how you can whitelist Rank Math REST Routes in Wordfence Firewall: https://rankmath.com/kb/whitelist-rank-math-in-wordfence/
Hope that helps and please don’t hesitate to let us know if you have any other questions.
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.