-
Hello. I have a weird error in my installation. Whatever I write in the Rank Math SEO dialog of any post, it is not saved when the post is saved. For example, if I set to true the essential content check, when the post is saved the check appears again in false.
Any idea what is happening?
Thanks in advanced.
-
Hello, I’m sorry to hear that you’re experiencing issues with the Rank Math SEO settings not being saved in your posts. This can be frustrating, but we’re here to help.
There are a few common causes for this issue, such as plugin conflicts or JavaScript-related errors. To troubleshoot this, you can follow the steps outlined in our knowledgebase article on plugin conflicts and also diagnose JavaScript-related errors using the browser’s console.
If you’ve already tried these steps and are still facing the issue, please feel free to reach out to our support team directly from here, and we’ll be more than happy to assist you further.
Thank you for bringing this to our attention, and we appreciate your patience as we work to resolve this issue for you.
Sources:
How to Update SEO Score When N/A is Showing » Rank Math
Is Rank Math Compatible With Crocoblock? » Rank Math
Fix Excluded by NoIndex Tag – Google Search Console Status » Rank Math
Why Your SEO Title, Description & Focus Keyword Aren’t Being Saved » Rank Math
Why Rank Math’s Meta Box is Not Showing? » Rank MathThanks for your reply. I’ve been looking at the javascript errors in console and this is what is shown:
https://www.imgpaste.net/image/SKyczX
Seems there is an error in a rank math object?
Hello,
Thank you for your query, and we are so sorry about the trouble this must have caused.
Please check your wordfence firewall settings , as it prevents saving the changes:
Please refer to the screenshot below :
https://monosnap.com/direct/R4eqrlAcgJ1fbStwTwUIxMsxR4zQk7You need to whitelist these routes:
/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
You can check this link for more information:
https://rankmath.com/kb/meta-data-not-saving/How to Whitelist Rank Math in Wordfence?
https://rankmath.com/kb/whitelist-rank-math-in-wordfence/Whitelist the file using Wordfence in Learning Mode.
https://www.wordfence.com/help/firewall/learning-mode/We hope that helps, and please don’t hesitate to get in touch if you have any other questions.
Thank you.
Thanks for your help. I’ve whitelisted all the URIs you sent me both in Cloudflare and in Wordfence, but the error still persist. Could you help me, please?
Hello,
In this case 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 have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
We tried to login but we were prompted with an error.
Please refer to the screenshot below :
https://monosnap.com/direct/6Uj2JL6rUX1l1sjquD7gY9C3UumqxYCould you please check with the login details so that we can investigate further.
We really look forward to helping you.
Thank you.
Hello,
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 logged in to your site using the access details provided.
We went further to check if any plugin might be interfering with Rank Math using this guide here and discovered that the Classic Editor plugin was the culprit.
We observed that data got saved when the classic editor was not active. However, the issue reappeared when the classic editor was active.
Therefore, we suggest contacting the Classic Editor plugin developer to inform them about the issue. They might already have a solution for this.
Hope this helps clarify your doubts.
Thank you.
Thank for your help.
Hello,
We are glad to know that this issue has been resolved. Thank you for letting us know.
Do you still need our assistance with anything else or we can go ahead to close the ticket?
Looking forward to helping you.
Thank you.
I’ve done what you said but the updateMeta is still not working. I mean, with the Classic editor plugin deactivated, I check the “Essential Content” checkbox and, after updated the check is not saved (although in first sight it might seems, but after reload de page, it is not).
Hello,
We’ve checked your site and seems like you have a redirection on this website that adds a trailing slash to all URLs and that is being triggered in the API routes as well.
That should not be applied to REST API routes but only to the pages and posts of the website. Otherwise, the functionality of the plugin might not work as intended.
To fix this, adding the condition line
RewriteCond %{REQUEST_URI} !^/wp-json
(exclude wp-json URLs) to your trailing slash redirect rule should work, The edited redirect will look similar to the one below:#Add Trailing slash for end of the URL RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !^/wp-json RewriteRule ^(.*[^/])$ /$1/ [L,R]
If you’re not sure, then you can get in touch with your hosting provider to do that for you.
Let us know how it goes. Looking forward to helping you.
Thank you.
Thanks! Now it’s working.
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.
The ticket ‘SEO meta in post is not saved’ is closed to new replies.