The focus keyword and meta description, title, etc. DON’T GET SAVED.

#50014
  • Resolved Angelos Georgakis
    Rank Math free

    Hi guys,

    The meta descriptioN, the focus keyword, the title, all get lost when I update the article. Actually, they never get saved!

    I press update, and when I go back to edit the article all the information in the snippet and focus keyword are lost.

    Can you please help?

    PLEASE don’t do any crazy experiments with my website. I don’t have plugin conflicts or anything like that. It’s a new and clean website.

    Thanks,
    Angelos

Viewing 15 replies - 1 through 15 (of 26 total)
  • Alberto
    Rank Math business

    Hello,

    I have checked your website and in the Dev Console, once you try to save a post (even a draft), the following error appears:

    POST https://yourwebsite.com/wp-json/rankmath/v1/updateMeta?_locale=user 403

    This error can happen due to a misconfiguration in the .htaccess file or some problem with permissions in your files, so I recommend you to check this guide to see if this solve your issue: https://www.cloudways.com/blog/fix-403-forbidden-error-in-wordpress/

    Looking forward to help you.

    • This reply was modified 3 years, 11 months ago by Alberto.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hi Alberto,

    thank you for looking into this.

    I found some weird code in htaccess that was not there before. See sensitive data.

    Or do you think it’s the WP rocket? It might be that all this started happening after I installed WP rocket. Some of the posts managed to save the meta information. The data got saved and I can see it now when I go to posts.

    What do you think?

    thanks a lot for your help,
    Angelos

    I checked with fresh htaccess file, it’s not the htaccess.

    It’s not the file permissions either. Everythign looks good there too.

    What else could it be?

    Thanks, Angelos

    Hello,

    Thank you for contacting Rank Math today.

    It is likely that there is a configuration on your server that is blocking JSON endpoint from Rank Math. Please reach out to your host and share this error and let us know if they are able to help.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hey, they said there is no issue on their end. I contacted them already and spent hours with their support. Can you guys help me? I really want to use RankMath but right now it’s impossible.

    Hello,

    Thank you for contacting Rank Math today.

    I’ve submitted this issue to our dev team for closer investigation and we will be getting back to you in a short while.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hello,

    Forbidden errors arise when your site has permission settings that are incorrect. Please contact your hosting team again and ask them to check the Firewall and Permission settings again and see if they are not blocking any WP Rest API requests.

    If they are not able to find any solution then please add your site’s FTP details in the Sensitive Data Section. Although I don’t think we can do anything to fix this from plugin code, but we can pinpoint where exactly the request fails which you can then forward to your hosting team.

    Looking forward to helping you.

    Thank you so much. I have already reached out to them and am waiting for their reply. Please stay tight. All I know, I’m not going back to Yoast. We will fix this! 🙂

    Alberto
    Rank Math business

    Hello,

    Perfect, we will be here to continue helping you once you know more about your issue, just let us know.

    Looking forward to help you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hi Alberto, Pratik, Michael and Team,

    I provided Bluehost with all the details but they can’t find what creates the issue on their end. They whitelisted some stuff on their server but that didn’t help. They said to me that the issue is with Rankmath.

    Guys, I trust that you can help me more than Bluehost.

    As I said, I really love the plugin and I’m one of your evangelists.

    Can you please have another deep look into everything and help me fix the problem?

    I’d appreciate that.

    I have given access to you via FTP (see sensitive data)

    Thanks a lot,
    Angelos

    Hello,

    Thank you for contacting Rank Math today.

    I recently came across a similar issue that was arising from some WAF rules created by the WordFence plugin that were blocking the rest request.

    Do you have this plugin installed?(The access token has apparently expired) If you are, please check the WAF rules and add the Rank Math rest request as an exception.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Alberto
    Rank Math business

    Hello,

    I have checked in deep your website and even with all plugins disabled (just Rank Math enabled), it stills don’t save the Rank Math data so it doesn’t seem like a plugin conflict.

    Your “weird” .htaccess fragment is just some extra redirections done for the SSL certificate, so it is nothing to worry about.

    In your BlueHost control panel, do you have any firewall or cache system enabled? Since the error is happening when saving the posts is the server is returning a bad formatted JSON file and since the server return is failing it, it seems like something between WordPress and the user (so the server) is modifying it, so the only reason could be a firewall, a cache or some kind of security system. Since you are not using any of them in WordPress (I checked it) it might be in your control panel, that is why I suggest you to check for it.

    Looking forward to help you.

    Hey Alberto, thank you for your help.

    I don’t know what to do seriously!

    I paused Cloudflare to see if it works but even with Cloudflare deactivated the problem persists so it’s not Cloudflare.

    I can’t think of anything else…

    I’m not using any firewall or anything else on the cpanel.

    The interesting thing is that in the beginning… it used to work OK. My first 3-4 posts have saved the keywords.

    This is what Bluehost said:

    I have reviewed your case and I am aware that you are experiencing issues with Rank math plugin. Thank you for providing us the steps to replicate the issue and the temporary login, we were able to follow the steps you have given. I have checked the server error_logs, we were not able to find any blocks and error from the server end. This looks like an issue with the plugins API. Looks like the server configuration is denied by the plugins API and we will not be able to correct this from the server end. I Suggest you to contact the plugin vendor and check with them,

    Once you have contacted the plugin vendor, please reply back to this email with the resolution provided by the plugin vendor so that we can make the needed changes from our end. If there are any changes to be done for the plugin to work and if it is compatible with server then we will update them for you. You can also get help from developers.

    Please, can you help?

    Thanks, Angelos

Viewing 15 replies - 1 through 15 (of 26 total)

You must be logged in to reply to this ticket.