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?


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

    Thank you for contacting Rank Math today.

    Please edit the following plugin file:

    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:

    Looking forward to helping you. Thank you.


    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,

    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?



    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:

    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):

    We really look forward to helping you.


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

    Thank you!

    • This reply was modified 2 weeks ago by Karolina.


    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!


    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 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.