Cant calculate SEO Scores (error 403)

#993936
  • Resolved Christoph Rustige
    Rank Math free

    Just installed the plugin. When importing, I already got an error after it was trying to calculate seo scores.

    Tried it from the settings, got this error:
    Failed to load resource: the server responded with a status of 403 () for /wp-json/rankmath/v1/updateSeoScore:1.

    When trying to access the url directly I get a 404 from the “API”. But when looking just at /wp-json I even get all the Rank Math endpoints. please help me, this is awful.

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

    We apologize for the issue you are facing with the 403 error while trying to calculate SEO scores in Rank Math. This error typically indicates that there are permission issues preventing access to certain resources on your server.

    Here are a few steps you can take to troubleshoot and potentially resolve this issue:

    1. Check File Permissions

    Ensure that the file permissions for your WordPress installation are set correctly. The recommended permissions are:

    • For Directories: 755 or 750
    • For Files: 644 or 640
    • Exception: wp-config.php should be set to 440 or 400.

    You can adjust these permissions using an FTP client or through your hosting control panel.

    2. Use the Site Health Check Plugin

    You can also use the Site Health Check plugin to identify any potential issues with your site. Here’s how to install it:

    • Log into your WordPress site and go to the Plugins page.
    • Click on the “Add New” button and search for “Site Health Check.”
    • Install and activate the plugin.
    • Navigate to Tools > Site Health to see if there are any critical issues reported.

    Open Site Health Tools

    3. Check Server Configuration

    Sometimes, server configurations or security plugins can block access to certain endpoints. Ensure that your server settings allow access to the /wp-json/rankmath/v1/updateSeoScore endpoint.

    4. Contact Your Hosting Provider

    If you continue to experience issues, it may be beneficial to reach out to your hosting provider for assistance, as they can help identify if there are any server-level restrictions causing the problem.

    If you could provide your site URL in your reply, we can assist you further. Thank you for raising this concern, and we hope to resolve it quickly for you!

    Sources:
    How To Fix Blocked Due to Access Forbidden (403) Error in Google Search Console » Rank Math

    Already did all of that, disabled all plugins, regenerated .htaccess, checked site health etc. Nothing helps.

    Small Update:
    I even tried it with the “Twenty Twentyfive” theme, still no luck.
    I also permanently removed my Security & Cache Plugin, still the same error.

    Even when ALL plugins are deactivated, it still does not work. This makes no sense.

    Tried it on another install of wordpress (same server) it worked fine there.

    Alright, here’s the final update for now:
    I can access the general endpoint for Rank Math via /wp-json/rankmath/v1/ and updateSeoScore is listed in there.

    When the function (/wp-json/rankmath/v1/updateSeoScore) is executed via the plugin, I get a 403.

    Please just give me a fix for this, I already tried everything I could. Everything else in the plugin seems to work fine.

    I FOUND A “FIX”:
    It seems like something is broken with the SEO-Score Calculating in 1.0.240 if Yoast has been used before.
    I rolled back to 1.0.239 and the calculating worked. Upgrading to 1.0.240 is breaking it again, so I’ll just stick to 1.0.239 until this is fixed.

    PLEASE FIX THIS SINCE THIS HAS CAUSED MULTIPLE HOURS OF UNNECESSARY WORK AND REMOVAL OF PLUGINS!

    Hello,

    The issue with our Recalculate Score feature has already been reported to our development team, and we are working on a fix.

    We will notify everyone via the usual communication channels once this is fixed and added to our update.

    We really appreciate your kind patience with this matter.

    Looking forward to helping you.

    Vlad (T69)
    Rank Math pro
    Content AI Starter

    Also google page speed doesn’t work

    Hello,

    The issue is already fixed in the latest Beta release and will be pushed to the next update soon.

    If you would like to update it now, you can follow the steps here:
    https://rankmath.com/kb/version-control/#beta-updates

    Hope that helps, and please do not hesitate to let us know if you need our assistance with anything else.

    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 8 replies - 1 through 8 (of 8 total)

The ticket ‘Cant calculate SEO Scores (error 403)’ is closed to new replies.