Rank math not saving unless user is an admin

#881564
  • Resolved Technology Services
    Rank Math free

    Hello

    We have an issue whereby we cannot save SEO information – it works when it is done by an administrator – are you aware of any issues – I have included the server details if that helps – but let me know if I can provide any more information

    Thank you

    Chris

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    We apologize for the issue you are facing with Rank Math not saving SEO information unless the user is an administrator. This behavior can sometimes be caused by permission settings or security features on your server.

    Here are a few things you can check:

    1. User Role Permissions: Ensure that the user roles other than admin have the necessary permissions to save settings in Rank Math. You may need to adjust the capabilities for those roles.

    2. ModSecurity: Sometimes, ModSecurity can block requests from non-admin users. If your hosting provider has ModSecurity enabled, it might be worth asking them to check if it is causing any issues.

    3. JavaScript Conflicts: If there are any JavaScript conflicts due to other plugins or themes, it could prevent saving. You can check for errors in the console by opening Developer Tools in your browser and navigating to the Console tab. If you see any errors, they may provide insight into what is causing the issue.
      Open Developer Tools
      Open console tab
      Google Chrome JavaScript console errors

    4. Firewall Settings: If you are using a firewall, it might be blocking access to certain files that Rank Math needs to function properly. Check if Rank Math is being blocked and whitelist it if necessary.

    If these suggestions do not resolve the issue, please reply to this ticket with any error messages you find or additional details about your server setup, and a human agent from our support team will assist you further.

    Thank you for raising this concern!

    Hello

    It seems to be when updating the SEO snippets – for an administrator account it works but for an editor it saves but then reverts after a refresh

    Regards

    Chris

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience this issue may have caused you.

    We found that the Rank Math REST Routes that we use to update the metadata are being blocked by your WordFence firewall and most likely this is why you’re facing the issue.

    Please check the screenshot below for your reference:

    https://imgur.com/G1xdGAq

    To fix this issue, please whitelist the Rank Math REST Routes below by following the guide below: https://rankmath.com/kb/whitelist-rank-math-in-wordfence/

    /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

    Learn more about troubleshooting this issue here: https://rankmath.com/kb/meta-data-not-saving/

    We hope these steps help you solve the problem and please do not hesitate to let us know if you need our assistance with anything else.

    Thank you – even when I disable WordPress the issue still persists – if feels like some sort of permission issue as it works for Administrators

    Hello,

    We’ve checked the route, and it is still getting blocked by WordFence.

    You may need to whitelist the user in WordFence by following the steps in this link:
    https://rankmath.com/kb/whitelist-rank-math-in-wordfence/

    If you have already disabled the WordFence plugin on your site, then the WordFence must be applied via your server.

    Looking forward to helping 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.

Viewing 5 replies - 1 through 5 (of 5 total)

The ticket ‘Rank math not saving unless user is an admin’ is closed to new replies.