Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
We can see the 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 issue. Please check the screenshot in the sensitive data section for reference.
However, after checking your website we can see the Wordfence Security plugin is deactivated. In such cases, you can either active this plugin and follow this guideline to whitelist Rank Math REST Routes in Wordfence Firewall: https://rankmath.com/kb/whitelist-rank-math-in-wordfence/
Or, if you’re not going to use this plugin anymore, you can completely uninstall it from your website including your database.
Let us know how it goes. Looking forward to helping you.
Thank you.
I had deleted the Wordfence plugin.
Now it’s working fine.
thanks a lot for solving the issue.
What should i keep in mind so that further issue will not happen again.
Hello,
We are glad that this resolved your issue.
If you use any firewall plugin in the future always make sure to whitelist the following Rest API:
/wp-json/rankmath/v1/updateMeta
You can also try to visit this URL to make sure if the Rest Routes are getting blocked or not:
https://yourdomain.com/wp-json/rankmath/v1/updateMeta
If it returns the following message that means the Rest API is working properly:
{"code":"rest_no_route","message":"No route was found matching the URL and request method.","data":{"status":404}}
Hope that helps and please don’t hesitate to let us know if you have any other questions.
Thank you.
why rank math automatically erase my focus keyword? please help me solve this problem
Hello @mohamedissa2
Just like the Original poster (OP) this issue might be due to your site/server firewall blocking Rank Math’s UpdateMeta route causing the changes to settings to not reflect.
You can follow the steps in this article to resolve the issue: https://rankmath.com/kb/meta-data-not-saving/
If the issue persists, please open a support ticket and update us with the details so that we can provide you with personalized support.
We hope this helps.
Thanks.
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.