Hello,
Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.
If you are using the Wordfence plugin, this is the route that you should whitelist to be able to save those settings:
https://yourdomain.com/wp-json/rankmath/v1/updateMeta?_locale=user
Please make sure that you whitelist that following the steps here: https://rankmath.com/kb/meta-data-not-saving/#firewall
Hope this helps solve your issues.
Don’t hesitate to get in touch if you have any other questions.
Hi Abdullah,
We already have Ithemes Security. Is it possible to use that plugin as well?
Thanks.
Hello,
Could you please delete or rename your .htaccess
to something like .htaccess-old
and create a default one?
You may refer to WordPress’s guide to create a default htaccess file and see if resetting the htacess will resolve the issue: https://wordpress.org/support/article/htaccess/
Let us know how that goes. Looking forward to helping you.
Hi Jeremy,
We are using the default htacess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
We created a virtual host on port 80 with the domain as domain.test. The localhost is running on XAMPP with PHP version 7.4.25
Hello,
These errors usually are caused when something is blocking access to the WordPress REST API. Could you please try temporarily disabling the iThemes Security plugin and check if the issue still persists?
If so, you can check these settings as iThemes Security has a setting for the REST API to block:
https://ithemes.com/security/wordpress-rest-api-restrict-access/
I hope that helps.
Thank you.
Hi,
I have deactivated iThemes Security but still experiencing the error.
https://ibb.co/2vj4NDY
Hello,
Thank you for your patience.
We’re unable to investigate your site since it is hosted locally.
Since you have mentioned that you’ve already disabled your local firewall, could you please try pushing the site to a server and see if the issue still persists?
If so, please create a staging site so we can log in and investigate this issue further.
Here is a guide that could be really useful for you on how to create a staging site: https://www.wpbeginner.com/wp-tutorials/how-to-create-staging-environment-for-a-wordpress-site/
Looking forward to helping you.
Thank 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.