Error when running SEO Analysis

  • Hi!

    I have been using RankMath for a couple of months and have been very happy with the program. However, a recently every time I try to sun SEO Analysis I get this message:
    API Error: cURL error 28: Operation timed out after 30000 milliseconds with 0 bytes received.

    Do you know why is this happening and what I can do to get RankMath to work as usual?

    Thanks,
    Karolina

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

    Thank you for contacting Rank Math today.

    Please edit the following plugin file:
    /includes/modules/seo-analysis/class-seo-analyzer.php

    Then, change the following line (line number 358):
    $request = wp_remote_get( $api_url, [ 'timeout' => 20 ] );

    Increase the timeout value to 60:
    $request = wp_remote_get( $api_url, [ 'timeout' => 60 ] );

    The SEO analysis should start working as expected.

    Or, you could also use the online version of the tool which is just as good:
    https://rankmath.com/tools/seo-analyzer/

    Looking forward to helping you. Thank you.

    Hi!

    Thank you for your answer. I have tried the online version of the tool and it shows me an error too. When I have a moment, I will try editing the plugin files the way you said. Hopefully, that will help. If it does, I will let you know. Otherwise, I may need to look for another SEO plugin.

    Thank you,
    Karolina

    I have taken a look at the file I was supposed to change. Unfortunately, line 358 doesn’t look even close to how it was described and I don’t see remotely similar in the whole file (see the attached image). Is this the right file to change the data?

    Cheers,
    Karolina

    Hello,

    Yes, it is the right file but maybe with a recent update, the line changed. We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    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!
    Karolina

    • This reply was modified 2 weeks ago by Karolina.

    Hello,

    I was able to make the change on line 380. I had to temporarily deactivate Rank math while doing so which automatically disconnected Rank math account. Please reconnect your site to your Rank math account and let us know if the issue is now resolved.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    It’s working! Thank you so much for your help.

    I finally can use my SEO analysis again. Brilliant!

    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.

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

The ticket ‘Error when running SEO Analysis’ is closed to new replies.