Hi Hasan,
Assuming you already followed the instructions we gave above, 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 ] );
Increas 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.
I did both, but it still didn’t work.
my website:
mysteryofiran-login.ir
Hi Hasan,
Your website might be taking much longer to respond then. It is working fine on our end: https://rankmath.com/tools/seo-analyzer/
Please change this:
$request = wp_remote_get( $api_url, [ ‘timeout’ => 60 ] );
to
$request = wp_remote_get( $api_url, [ ‘timeout’ => 90 ] );
or
$request = wp_remote_get( $api_url, [ ‘timeout’ => 120 ] );
Otherwise, it would appears your web server is blocking access to our API.
Please make sure to whitelist the IP 134.90.148.98
and the user-agent RankMathChecker/2.0.0; https://rankmath.com
.
If you are not sure, please ask your web hosting provider to do it for you.
Once done, you can run the SEO Analysis once again.
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.