Hello,
Thank you for contacting the support and sorry for any inconvenience that might have been caused due to that.
While saving the meta data I’m getting https://yourdomain.com/wp-json/rankmath/v1/updateMeta/?_locale=user
404 error. The issue is coming from the rule to force trailing slashes to the URLs. There shouldn’t be a trailing slash after the updateMeta in the route, it should look like this:
https://yourdomain.com/wp-json/rankmath/v1/updateMeta?_locale=user
If you are using .htaccess
to force the trailing slash, please make sure to exclude wp-json path from the rewrite rule.
RewriteCond %{REQUEST_URI} !^/(wp-json/.*)$
The rule should be like this:
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/(wp-json/.*)$
RewriteCond %{REQUEST_URI} /+[^\.]+$
RewriteRule ^(.+[^/])$ %{REQUEST_URI}/ [R=301,L]
You can edit the .htaccess
file from WP Dashboard > Rank Math > General Settings > Edit .htaccess.
If you are using some other method, please get in touch with your host and ask them to exclude the wp-json
path from the rule to force the trailing slash.
Let us know how that goes. Looking forward to helping you.
Hello,
We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.
If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.
If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.
Thank you.